Add -r parameter to read

This commit is contained in:
Jesús 2022-05-24 22:45:43 +08:00
parent f7e0ab489d
commit d142a77e0d
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -860,7 +860,7 @@ installbase(){
sed -i '/^\s*$/d' /tmp/hyperfi-custom-package-list
sed -i '/^#/ d' /tmp/hyperfi-custom-package-list
options=()
while read pkg; do
while read -r pkg; do
options+=("${pkg}" "" on)
done < /tmp/hyperfi-custom-package-list
sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallhyperbolacustompackagelist}" --checklist "" 0 0 0 \