Added a script to install xl2tp server to ubuntu and configure it automatically
This commit is contained in:
parent
0c80508e5c
commit
ab0cd9a093
@ -15,8 +15,8 @@ if [ ! -d "$TARGET_DIR" ]; then
|
|||||||
git clone $REPO_URL $TARGET_DIR
|
git clone $REPO_URL $TARGET_DIR
|
||||||
else
|
else
|
||||||
echo "Directory $TARGET_DIR already exists. Stashing local changes and pulling the latest changes."
|
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
|
git config --global --add safe.directory $TARGET_DIR
|
||||||
|
cd $TARGET_DIR
|
||||||
git stash
|
git stash
|
||||||
git pull
|
git pull
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user