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
0bb8fd48
Commit
0bb8fd48
authored
May 22, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autoorphans: do real removing
parent
6435fad7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
epm-autoorphans
bin/epm-autoorphans
+5
-4
No files found.
bin/epm-autoorphans
View file @
0bb8fd48
...
...
@@ -32,9 +32,10 @@ case $PMTYPE in
apt-rpm
)
# ALT Linux only
assure_exists /etc/buildreqs/files/ignore.d/apt-scripts apt-scripts
__epm_orphan_altrpm
info
"TODO: this was just a list of orphans"
# | sudocmd epm remove
echo
"We will try remove all installed packages which are missed in repositories"
warning
"Use with caution!"
local
PKGLIST
=
$(
__epm_orphan_altrpm |
sed
-e
"s/
\.
32bit//g"
)
docmd epm remove
$PKGLIST
;;
apt-dpkg|aptitude-dpkg
)
assure_exists deborphan
...
...
@@ -47,7 +48,7 @@ case $PMTYPE in
yum-rpm
)
showcmd package-cleanup
--orphans
local
PKGLIST
=
$(
package-cleanup
--orphans
)
su
docmd epm remove
$PKGLIST
docmd epm remove
$PKGLIST
;;
urpm-rpm
)
showcmd urpmq
--auto-orphans
...
...
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