Add -r parameter to read
This commit is contained in:
parent
f7e0ab489d
commit
d142a77e0d
2
hyperfi
2
hyperfi
@ -860,7 +860,7 @@ installbase(){
|
|||||||
sed -i '/^\s*$/d' /tmp/hyperfi-custom-package-list
|
sed -i '/^\s*$/d' /tmp/hyperfi-custom-package-list
|
||||||
sed -i '/^#/ d' /tmp/hyperfi-custom-package-list
|
sed -i '/^#/ d' /tmp/hyperfi-custom-package-list
|
||||||
options=()
|
options=()
|
||||||
while read pkg; do
|
while read -r pkg; do
|
||||||
options+=("${pkg}" "" on)
|
options+=("${pkg}" "" on)
|
||||||
done < /tmp/hyperfi-custom-package-list
|
done < /tmp/hyperfi-custom-package-list
|
||||||
sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallhyperbolacustompackagelist}" --checklist "" 0 0 0 \
|
sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallhyperbolacustompackagelist}" --checklist "" 0 0 0 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user