[util] tweak info msg when restoring pacman.conf

This commit is contained in:
udeved 2016-05-20 20:20:00 +02:00
parent 577d1acac8
commit 846b6c16d4

View file

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