Commit 6bdc64e5 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-autoorphans: realize print list

parent 3eb7a18b
#!/bin/sh #!/bin/sh
# #
# Copyright (C) 2015 Etersoft # Copyright (C) 2015, 2016 Etersoft
# Copyright (C) 2015 Vitaly Lipatov <lav@etersoft.ru> # Copyright (C) 2015, 2016 Vitaly Lipatov <lav@etersoft.ru>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by # it under the terms of the GNU Affero General Public License as published by
...@@ -17,6 +17,11 @@ ...@@ -17,6 +17,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
__epm_orphan_altrpm()
{
docmd "apt-cache list-extras"
}
epm_autoorphans() epm_autoorphans()
{ {
...@@ -24,14 +29,13 @@ epm_autoorphans() ...@@ -24,14 +29,13 @@ epm_autoorphans()
case $PMTYPE in case $PMTYPE in
#apt-rpm) apt-rpm)
# ALT Linux only # ALT Linux only
#__epm_autoremove_altrpm assure_exists /etc/buildreqs/files/ignore.d/apt-scripts apt-scripts
__epm_orphan_altrpm
# ALT Linux only info "TODO: this was just a list of orphans"
#assure_exists remove-old-kernels # | sudocmd epm remove
#sudocmd remove-old-kernels ;;
# ;;
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