From abc3c9676cb7fcf1998e9f3a8b5938c56be575af Mon Sep 17 00:00:00 2001 From: Nic0Nic0Nii Date: Tue, 7 Jun 2022 18:36:31 +0000 Subject: [PATCH] If the second argument is update there will be no updating. Co-authored-by: sigonasr2 --- utils/define.sh | 2 +- utils/md5 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/define.sh b/utils/define.sh index 1dc7f41..214fc50 100755 --- a/utils/define.sh +++ b/utils/define.sh @@ -8,7 +8,7 @@ function define() { eval export "$1"='$value' } -if [[ $(pwd) != *"SigScript" && $AUTO_UPDATE = "true" ]]; then +if [[ $(pwd) != *"SigScript" && $AUTO_UPDATE = "true" && $1 != "update" ]]; then source utils/search.sh find . -type f -name md5 -delete diff --git a/utils/md5 b/utils/md5 index a258318..baa339d 100644 --- a/utils/md5 +++ b/utils/md5 @@ -1,4 +1,4 @@ -define.sh:cf246587e7509edd9283cb8e8e4b26cf - +define.sh:3ecab0dffe2adfb950f3eb7c7061b750 - main.sh:d3d1bd0b56d8114eb7479964227f8576 - search.sh:81d08f5ff48e8a44b5f68387d426da05 - .updateDirectories:0ede00461e947494545e694040787b3f -