diff --git a/Scripts/custom_apps.lst b/Scripts/custom_apps.lst index 204a446..5735429 100644 --- a/Scripts/custom_apps.lst +++ b/Scripts/custom_apps.lst @@ -8,3 +8,4 @@ cava spicetify-cli wireguard-tools nextcloud-client +gnome-keyring diff --git a/Scripts/custom_pst.sh b/Scripts/custom_pst.sh index 2f144dd..5c0c6b1 100755 --- a/Scripts/custom_pst.sh +++ b/Scripts/custom_pst.sh @@ -121,28 +121,28 @@ install_snap_apps(){ exit 1 fi -# 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 - fi + # 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 + fi - # Install the snap package - - echo -e "\033[0;32m[SNAP]\033[0m installing snap packages: $line" - sudo snap install "$line" + # Install the snap package + + echo -e "\033[0;32m[SNAP]\033[0m installing snap packages: $line" + sudo snap install "$line" - # Check if the installation was successful - if [ $? -eq 0 ]; then - echo "$line installed successfully!" - else - echo "Failed to install $line" - fi -done < "$SNAP_APPS_FILE" + # Check if the installation was successful + if [ $? -eq 0 ]; then + echo "$line installed successfully!" + else + echo "Failed to install $line" + fi + done < "$SNAP_APPS_FILE" -echo "All snap packages have been processed." + echo "All snap packages have been processed." }