aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ipkg-remove5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/ipkg-remove b/scripts/ipkg-remove
index c0e0ec880f..f4957004c0 100755
--- a/scripts/ipkg-remove
+++ b/scripts/ipkg-remove
@@ -10,6 +10,11 @@ for pkg in "$@"; do
break
fi
done
+ case "$pkg" in
+ */"${sourcename}_"*.ipk)
+ rm -vf "$pkg"
+ ;;
+ esac
done
exit 0