1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/streams_ynh.git synced 2024-09-03 20:26:20 +02:00
This commit is contained in:
dragondaddy 2023-11-14 03:59:06 +01:00
parent 563f00e675
commit 736f5d633e

View file

@ -77,6 +77,7 @@ set__git_branch_mode() {
else else
ynh_print_err --message="\"release\" branch is behind your local \"dev\" branch, rolling back is not allowed here" ynh_print_err --message="\"release\" branch is behind your local \"dev\" branch, rolling back is not allowed here"
exit 0 exit 0
fi
elif [ "$git_branch_mode" -eq "1" ]; then elif [ "$git_branch_mode" -eq "1" ]; then
# If git_branch was set to 1, switch to "dev" branch # If git_branch was set to 1, switch to "dev" branch
(cd "$install_dir" && git checkout dev) (cd "$install_dir" && git checkout dev)