logic changes

This commit is contained in:
2025-11-19 16:46:58 +00:00
parent 3985dbc5b9
commit 002316c5fb

View File

@@ -13,7 +13,7 @@ if [[ $(id -u) -ne 0 ]]; then echo "" && echo "Must be root or use sudo" && echo
# #
# If snapd is not installed or not working then die # If snapd is not installed or not working then die
# #
if ! snap version >/dev/null 2>&1; then echo "ERROR: snapd is not installed or not working — aborting" ; exit 1 ; fi if ! timeout 2 snap version >/dev/null 2>&1; then echo "ERROR: snapd is not installed or not working — aborting" ; exit 1 ; fi
# #
# Function usage # Function usage