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