aboutsummarylogtreecommitdiffstats
path: root/haur
diff options
context:
space:
mode:
Diffstat (limited to 'haur')
-rwxr-xr-xhaur3
1 files changed, 2 insertions, 1 deletions
diff --git a/haur b/haur
index 97fc7cd08e4b..90e38ec38091 100755
--- a/haur
+++ b/haur
@@ -15,9 +15,10 @@ then
for PACKAGE_NAME in "$@"
do
if [ $PACKAGE_NAME != "--remove" ] || [ $PACKAGE_NAME != "-r" ]
-then
+then
echo "Removing $PACKAGE_NAME"
sudo pacman -Rns $PACKAGE_NAME
+ echo $PACKAGE_NAME > $HOME/.haur_cache
fi
done
exit 0