[util] tweak info msg when restoring pacman.conf

This commit is contained in:
udeved 2016-05-20 20:20:00 +02:00 committed by Philip
parent 5ae0bd5f20
commit 47095986af

View file

@ -73,11 +73,10 @@
# } # }
reset_pac_conf(){ reset_pac_conf(){
msg "Restoring [%s/etc/pacman.conf] ..." "$1" info "Restoring [%s/etc/pacman.conf] ..." "$1"
sed -e "s|^.*HoldPkg = pacman glibc|HoldPkg = pacman glibc manjaro-system|" \ sed -e 's|^.*HoldPkg.*|HoldPkg = pacman glibc manjaro-system|' \
-e "s|^.*#CheckSpace|CheckSpace|" \ -e "s|^.*#CheckSpace|CheckSpace|" \
-i "$1/etc/pacman.conf" -i "$1/etc/pacman.conf"
msg "Done restoring [%s/etc/pacman.conf]" "$1"
} }
read_set(){ read_set(){