shell-scripts/solus_utility/solus_goto_oct.sh

23 lines
538 B
Bash
Raw Normal View History

#!/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