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
Nurlan
eepm
Commits
d6158ef2
Commit
d6158ef2
authored
Feb 08, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-check: fix commands
parent
4114265c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
epm-check
bin/epm-check
+7
-3
No files found.
bin/epm-check
View file @
d6158ef2
...
...
@@ -22,17 +22,21 @@ epm_check()
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
#sudocmd apt-get check || exit
sudocmd apt-get update
||
exit
#
sudocmd apt-get update || exit
sudocmd apt-get
-f
install
||
exit
;;
apt-dpkg
)
sudocmd apt-get update
||
exit
#sudocmd apt-get update || exit
#sudocmd apt-get check || exit
sudocmd apt-get
-f
install
||
exit
sudocmd apt-get autoremove
;;
yum-rpm
)
docmd yum check
docmd package-cleanup
--leaves
a
=
package-cleanup
--leaves
| xargs yum remove
sudocmd yum remove
$(
package-cleanup
--leaves
)
#docmd package-cleanup --dupes
sudocmd package-cleanup
--cleandupes
;;
urpm-rpm
)
sudocmd urpme
--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