From 05548b6348fc244119e2fa789c03e578ac338648 Mon Sep 17 00:00:00 2001 From: udeved Date: Sun, 10 May 2015 23:23:04 +0200 Subject: [PATCH] [util-iso] more cosmetics, forgot one brackets, fix msg path --- lib/util-iso.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/util-iso.sh b/lib/util-iso.sh index 0292d9e..ae69e24 100644 --- a/lib/util-iso.sh +++ b/lib/util-iso.sh @@ -582,7 +582,7 @@ get_repos() { clean_pacman_conf(){ local repositories=$(get_repos) uri='file://' - msg "Cleaning [$1/pacman.conf] ..." + msg "Cleaning [$1/etc/pacman.conf] ..." for repo in ${repositories[@]}; do case ${repo} in 'options'|'core'|'extra'|'community'|'multilib') continue ;; @@ -590,13 +590,13 @@ clean_pacman_conf(){ msg2 "parsing [${repo}] ..." parse_section ${repo} if [[ ${pc_value} == $uri* ]]; then - msg2 "Removing local repo ${repo} ..." + msg2 "Removing local repo [${repo}] ..." sed -i "/^\[${repo}/,/^Server/d" $1/etc/pacman.conf fi ;; esac done - msg "Done cleaning [$1/pacman.conf]" + msg "Done cleaning [$1/etc/pacman.conf]" } build_images(){