aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xspm1
1 files changed, 1 insertions, 0 deletions
diff --git a/spm b/spm
index 672d819..d5980c5 100755
--- a/spm
+++ b/spm
@@ -246,6 +246,7 @@ spm_remove() {
tail -n+2 $1 | tac | while read -r line; do
case $line in
*/) grep -x "$line" * | grep -v $1: >/dev/null || rmdir $VERBOSE "${SPM_ROOT%/}"/"$line";;
+ etc/*) rm $VERBOSE "${SPM_ROOT%/}"/"$line"; rm -f $VERBOSE "${SPM_ROOT%/}"/"$line".new;;
*) rm $VERBOSE "${SPM_ROOT%/}"/"$line";;
esac
done