Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
6bdc64e5
Commit
6bdc64e5
authored
May 20, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-autoorphans: realize print list
parent
3eb7a18b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
epm-autoorphans
bin/epm-autoorphans
+13
-9
No files found.
bin/epm-autoorphans
View file @
6bdc64e5
#!/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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment