1754681473

This commit is contained in:
2025-08-08 13:31:12 -06:00
parent 3fe5783140
commit 0b061ddbdd
+3 -1
View File
@@ -14,7 +14,9 @@ check_purge_package () {
package_check=$? # get return code. 0 for found, any other for not found package_check=$? # get return code. 0 for found, any other for not found
if [ $package_check -eq 0 ]; then # if package is found, purge it if [ $package_check -eq 0 ]; then # if package is found, purge it
echo "sudo apt purge $package_name -y" echo "purging $package_name"
sudo apt purge $package_name -y
echo "finished purging $package_name"
else # otherwise skip else # otherwise skip
echo "no $package_name installation found, skipping uninstall" echo "no $package_name installation found, skipping uninstall"
fi fi