Skip to content

Commit

Permalink
Add git remote update
Browse files Browse the repository at this point in the history
  • Loading branch information
Actionb committed Aug 6, 2024
1 parent 8250890 commit d3f3238
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mizdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ restore() {
}

update() {
git remote update
# TODO: checkout master branch first to make sure we are on it?
if docker exec -i $app_container scripts/check_update.py; then
read -r -p "Soll das Update installiert werden? [j/n]: "
if [[ ! $REPLY =~ ^[jJyY]$ ]]; then
Expand Down

0 comments on commit d3f3238

Please sign in to comment.