summaryrefslogtreecommitdiff
path: root/src/remove.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:19:39 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:19:39 +0000
commit9e7e6c466e0dab3a4bf3729fd97428dc2657746e (patch)
treeccaa4790edce068e1874f93a1b9fd069fae61202 /src/remove.sh
parentdd8004ccbf58b546f48205d2878d9101bbfcaadc (diff)
fixed install scriptv1.5.6
Diffstat (limited to 'src/remove.sh')
-rw-r--r--src/remove.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remove.sh b/src/remove.sh
index 56b6a42..ae5b58a 100644
--- a/src/remove.sh
+++ b/src/remove.sh
@@ -20,13 +20,13 @@ remove () {
echo $package_dir >> $to_remove
real="$real $package"
else
- >&2 printf "${RED}Package ${LIGHT_RED}$package${RED} is not installed"
+ printf "${RED}Package ${LIGHT_RED}$package${RED} is not installed\n" > /dev/stderr
fi
done
local total=$(cat $to_remove | wc -l)
- ${QUIET} || printf "${LIGHT_RED}The following packages will be removed from the system:\n\t${RED}%s\n" $real
+ ${QUIET} || printf "${LIGHT_RED}The following packages will be removed from the system:\n\t${RED}$real\n"
${QUIET} || printf "${LIGHT_RED}Files to remove: ${RED}%s\n" $total
${VERBOSE} && cat $to_remove