aboutsummaryrefslogtreecommitdiff
path: root/trashman
diff options
context:
space:
mode:
Diffstat (limited to 'trashman')
-rwxr-xr-xtrashman4
1 files changed, 2 insertions, 2 deletions
diff --git a/trashman b/trashman
index 29dc450..3e9859d 100755
--- a/trashman
+++ b/trashman
@@ -79,14 +79,14 @@ else
folder="`__trashman_actions_folder $package`"
if [ -x "$SHARE/$package/$folder/$ACTION" ]; then
- if [ "$ACTION" != "test" ]; then
+ if [ "$ACTION" != "check" ] && [ "$ACTION" != "test" ]; then
__trashman_echo "Dumpsterizing your system: action $ACTION for $package ($folder)..."
fi
$SHARE/$package/$folder/$ACTION $SHARE
status="$?"
- if [ "$ACTION" = "test" ]; then
+ if [ "$ACTION" = "check" ]; then
if [ "$status" = "0" ]; then
__trashman_echo "Package trashman is installed system-wide"
elif [ "$status" = "1" ]; then