From 149f4b61de0ff322a010e80d10eb522840dbb327 Mon Sep 17 00:00:00 2001 From: pancake Date: Fri, 20 Oct 2017 03:21:03 +0200 Subject: [PATCH] Handle without-pull in sys/user and install-su --- sys/install-su.sh | 3 ++- sys/user.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/install-su.sh b/sys/install-su.sh index 0fcb8e8074..6947e796c2 100644 --- a/sys/install-su.sh +++ b/sys/install-su.sh @@ -25,8 +25,9 @@ if [ "$1" != "--without-pull" ]; then echo "WARNING: Updating from remote repository" echo git pull fi -fi # wat ? + fi else + export WITHOUT_PULL=1 shift fi diff --git a/sys/user.sh b/sys/user.sh index 671e215faa..4f411505ca 100755 --- a/sys/user.sh +++ b/sys/user.sh @@ -17,6 +17,7 @@ if [ "$1" != "--without-pull" ]; then fi fi else + export WITHOUT_PULL=1 shift fi