[util] tweak info msg when restoring pacman.conf
This commit is contained in:
parent
577d1acac8
commit
846b6c16d4
1 changed files with 2 additions and 3 deletions
|
@ -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(){
|
||||||
|
|
Loading…
Reference in a new issue