[util] add reset_branch()

This commit is contained in:
udeved 2015-06-01 15:52:03 +02:00
parent 72caf29358
commit f97bb02e9d

View file

@ -468,6 +468,7 @@ check_sanity(){
show_version(){ show_version(){
msg "manjaro-tools" msg "manjaro-tools"
msg2 "version: ${version}" msg2 "version: ${version}"
msg2 "host_branch: $(get_branch)"
} }
show_config(){ show_config(){
@ -511,3 +512,7 @@ set_branch(){
msg3 "Setting branch for ${branch} build" msg3 "Setting branch for ${branch} build"
pacman-mirrors -g -b $1 pacman-mirrors -g -b $1
} }
reset_branch(){
pacman-mirrors -g
}