dpkg {-r|-P}
needs the package-, not the filename
This commit is contained in:
parent
3208ab614e
commit
a5dc6214e1
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ case "$state" in
|
|||
[ -f "$__object/parameter/purge-if-absent" ] \
|
||||
&& action="--purge" \
|
||||
|| action="--remove"
|
||||
echo "dpkg $action $__object_id"
|
||||
echo "dpkg $action ${__object_id%%_*}"
|
||||
echo "removed ($action)" >> "$__messages_out"
|
||||
;;
|
||||
*) echo "ERROR: unknown state '$state'" >&2 ;;
|
||||
|
|
Loading…
Reference in a new issue