Corrected minor bash formatting warnings reported by shellcheck. (#2493)

This commit is contained in:
simonfogliato 2024-05-07 23:15:09 -07:00 committed by GitHub
parent e5b6f46032
commit 9543f59a17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ packages=(
python-build
python-setuptools
python-wheel
python-simple-term-menu
python-simple-term-menu
python-pyparted
)
@ -37,11 +37,11 @@ pacman --noconfirm -S archiso
cp -r /usr/share/archiso/configs/releng/* /tmp/archlive
sed -i /archinstall/d $packages_file
sed -i /archinstall/d "$packages_file"
# Add packages to the archiso profile packages
for package in "${packages[@]}"; do
echo "$package" >> $packages_file
echo "$package" >> "$packages_file"
done
find /tmp/archlive