mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-08 01:10:26 +00:00
Fix syntax error
This commit is contained in:
parent
cbab0dfede
commit
381dc7d110
@ -317,7 +317,7 @@ install_base() {
|
|||||||
# if branch was chosen, use that also in installed system. If not, use the system setting
|
# if branch was chosen, use that also in installed system. If not, use the system setting
|
||||||
if [[ -e ${BRANCH} ]]; then
|
if [[ -e ${BRANCH} ]]; then
|
||||||
sed -i "/Branch =/c\Branch = $(cat ${BRANCH})/" ${MOUNTPOINT}/etc/pacman-mirrors.conf 2>$ERR
|
sed -i "/Branch =/c\Branch = $(cat ${BRANCH})/" ${MOUNTPOINT}/etc/pacman-mirrors.conf 2>$ERR
|
||||||
check_for_error "set target branch -> $(cat ${BRANCH}" "$?"
|
check_for_error "set target branch -> $(cat ${BRANCH})" "$?"
|
||||||
else
|
else
|
||||||
sed -i "/Branch =/c$(grep "Branch =" /etc/pacman-mirrors.conf)" ${MOUNTPOINT}/etc/pacman-mirrors.conf 2>$ERR
|
sed -i "/Branch =/c$(grep "Branch =" /etc/pacman-mirrors.conf)" ${MOUNTPOINT}/etc/pacman-mirrors.conf 2>$ERR
|
||||||
check_for_error "use host branch \($(grep "Branch =" /etc/pacman-mirrors.conf)\)" "$?"
|
check_for_error "use host branch \($(grep "Branch =" /etc/pacman-mirrors.conf)\)" "$?"
|
||||||
|
Loading…
Reference in New Issue
Block a user