Added a script to install xl2tp server to ubuntu and configure it automatically
parent
497503080e
commit
7f0d3f45f4
|
@ -16,7 +16,7 @@ if [ ! -d "$TARGET_DIR" ]; then
|
||||||
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
|
cd $TARGET_DIR
|
||||||
git config --add safe.directory $TARGET_DIR
|
git config --global --add safe.directory $TARGET_DIR
|
||||||
git pull
|
git pull
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue