forked from mirrored-repos/manjaro-tools
[util.sh] set branch only for rootfs
This commit is contained in:
parent
465bc8937d
commit
0ca7be157f
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ get_branch(){
|
|||
# $1: chroot
|
||||
# $2: branch
|
||||
set_branch(){
|
||||
if [[ $1 == "rootfs" ]]; then
|
||||
if [[ $1 =~ "rootfs" ]]; then
|
||||
info "Setting mirrorlist branch: %s" "$2"
|
||||
sed -e "s|/stable|/$2|g" -i "$1/etc/pacman.d/mirrorlist"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue