Commit 85a8eea2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-autoorphans: add --auto support; print list for --dry-run

parent 2f0c2d70
...@@ -41,11 +41,11 @@ case $PMTYPE in ...@@ -41,11 +41,11 @@ case $PMTYPE in
| grep -v -- "^eepm$" \ | grep -v -- "^eepm$" \
| grep -v -- "^kernel") | grep -v -- "^kernel")
if [ -n "$quiet" ] ; then # if [ -n "$dryrun" ] ; then
echo "$PKGLIST" # echo "$PKGLIST"
else # else
docmd epm remove $dryrun $PKGLIST docmd epm remove $dryrun $(subst_option non_interactive --auto) $PKGLIST
fi # fi
;; ;;
apt-dpkg|aptitude-dpkg) apt-dpkg|aptitude-dpkg)
assure_exists deborphan assure_exists deborphan
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment