Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 9d0ebecd..0e99b006 100755
--- a/update.sh
+++ b/update.sh
@@ -52,8 +52,8 @@ samba
"
fi
-# check running apt
-pgrep apt &>/dev/null && { echo "apt is currently running. Try again later"; exit 1; }
+# check running apt or apt-get
+pgrep -x "apt|apt-get" &>/dev/null && { echo "apt is currently running. Try again later"; exit 1; }
cp etc/library.sh /usr/local/etc/