diff --git a/solus_dev_setup.sh b/solus_utility/solus_dev_setup.sh similarity index 100% rename from solus_dev_setup.sh rename to solus_utility/solus_dev_setup.sh diff --git a/solus_utility/solus_goto_oct.sh b/solus_utility/solus_goto_oct.sh new file mode 100755 index 0000000..2225d27 --- /dev/null +++ b/solus_utility/solus_goto_oct.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +# Update solus infra repo and get to oct directory +# Used when emailing OC backers + +function update_repos() { + printf "[INFO] Updating the Solus package repo\n" + gotosoluspkgs + git switch main + git fetch && git pull + + printf "[INFO] Updating the Solus infrastructure-tooling repo \n" + cd infrastructure-tooling + git switch master + git fetch && git pull + + printf "[INFO] Switching to the oct directory\n" + cd oct + exec bash +} + +source ~/.bashrc.d/solus-monorepo-helpers.sh + +update_repos diff --git a/solus_package_backup.sh b/solus_utility/solus_package_backup.sh similarity index 100% rename from solus_package_backup.sh rename to solus_utility/solus_package_backup.sh diff --git a/solus_package_restore.sh b/solus_utility/solus_package_restore.sh similarity index 100% rename from solus_package_restore.sh rename to solus_utility/solus_package_restore.sh