Commit 4fbc20fe authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-autoorphans: implements for ALT only, not for apt-rpm

parent 1b12a31d
...@@ -27,9 +27,8 @@ epm_autoorphans() ...@@ -27,9 +27,8 @@ epm_autoorphans()
[ -z "$*" ] || fatal "No arguments are allowed here" [ -z "$*" ] || fatal "No arguments are allowed here"
case $BASEDISTRNAME in
case $PMTYPE in alt)
apt-rpm)
# ALT Linux only # ALT Linux only
assure_exists /usr/share/apt/scripts/list-extras.lua apt-scripts assure_exists /usr/share/apt/scripts/list-extras.lua apt-scripts
if [ -z "$dryrun" ] ; then if [ -z "$dryrun" ] ; then
...@@ -58,7 +57,11 @@ case $PMTYPE in ...@@ -58,7 +57,11 @@ case $PMTYPE in
else else
echo "There are no orphan packages in the system." echo "There are no orphan packages in the system."
fi fi
return 0
;; ;;
esac
case $PMTYPE in
apt-dpkg|aptitude-dpkg) apt-dpkg|aptitude-dpkg)
assure_exists deborphan assure_exists deborphan
showcmd deborphan showcmd 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