code cleanup
This commit is contained in:
parent
a7d262ff65
commit
e935f00506
2 changed files with 20 additions and 19 deletions
|
@ -8,3 +8,4 @@ cava
|
|||
spicetify-cli
|
||||
wireguard-tools
|
||||
nextcloud-client
|
||||
gnome-keyring
|
||||
|
|
|
@ -121,9 +121,9 @@ install_snap_apps(){
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Read each line in the "snap_apps.lst" file
|
||||
while IFS= read -r line
|
||||
do
|
||||
# Read each line in the "snap_apps.lst" file
|
||||
while IFS= read -r line
|
||||
do
|
||||
# Skip empty lines and lines starting with '#'
|
||||
if [ -z "$line" ] || [[ "$line" == \#* ]]; then
|
||||
continue
|
||||
|
@ -140,9 +140,9 @@ do
|
|||
else
|
||||
echo "Failed to install $line"
|
||||
fi
|
||||
done < "$SNAP_APPS_FILE"
|
||||
done < "$SNAP_APPS_FILE"
|
||||
|
||||
echo "All snap packages have been processed."
|
||||
echo "All snap packages have been processed."
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue