From ab0cd9a093dbba1416c775f79186955b8fa1026f Mon Sep 17 00:00:00 2001 From: h4775346 Date: Fri, 5 Jul 2024 18:49:46 +0300 Subject: [PATCH] Added a script to install xl2tp server to ubuntu and configure it automatically --- sas4-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sas4-install.sh b/sas4-install.sh index 2c16b3c..ed61bda 100644 --- a/sas4-install.sh +++ b/sas4-install.sh @@ -15,8 +15,8 @@ if [ ! -d "$TARGET_DIR" ]; then git clone $REPO_URL $TARGET_DIR else echo "Directory $TARGET_DIR already exists. Stashing local changes and pulling the latest changes." - cd $TARGET_DIR git config --global --add safe.directory $TARGET_DIR + cd $TARGET_DIR git stash git pull fi