diff --git a/deployment/update.sh b/deployment/update.sh index 0c4213a..dd2f4a2 100755 --- a/deployment/update.sh +++ b/deployment/update.sh @@ -5,18 +5,6 @@ cd "$(dirname "$0")" . ./target.sh -# # As part of the install script, we pull down any other sovereign-stack git repos -# PROJECTS_SCRIPTS_REPO_URL="https://git.sovereign-stack.org/ss/project" -# PROJECTS_SCRIPTS_PATH="$(pwd)/deployment/project" -# if [ ! -d "$PROJECTS_SCRIPTS_PATH" ]; then -# git clone "$PROJECTS_SCRIPTS_REPO_URL" "$PROJECTS_SCRIPTS_PATH" -# else -# cd "$PROJECTS_SCRIPTS_PATH" || exit 1 -# git -c advice.detachedHead=false pull origin main -# git checkout "$TARGET_PROJECT_GIT_COMMIT" -# cd - || exit 1 -# fi - # check if there are any uncommited changes. It's dangerous to # alter production systems when you have commits to make or changes to stash. if git update-index --refresh | grep -q "needs update"; then diff --git a/install.sh b/install.sh index ca043b8..a11fa88 100755 --- a/install.sh +++ b/install.sh @@ -247,17 +247,3 @@ fi if [ "$ADDED_COMMAND" = true ]; then echo "NOTICE! You need to run 'source ~/.bashrc' before continuing. After that, type 'ss-manage' to enter your management environment." fi - -. ./deployment/target.sh - -# As part of the install script, we pull down any other sovereign-stack git repos -PROJECTS_SCRIPTS_REPO_URL="https://git.sovereign-stack.org/ss/project" -PROJECTS_SCRIPTS_PATH="$(pwd)/deployment/project" -if [ ! -d "$PROJECTS_SCRIPTS_PATH" ]; then - git clone "$PROJECTS_SCRIPTS_REPO_URL" "$PROJECTS_SCRIPTS_PATH" -else - cd "$PROJECTS_SCRIPTS_PATH" - git -c advice.detachedHead=false pull origin main - git checkout "$TARGET_PROJECT_GIT_COMMIT" - cd - -fi