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
20b4ba42
Commit
20b4ba42
authored
Jul 22, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fix behaviour to check command
parent
36c7a58a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
epm
bin/epm
+1
-1
epm-check
bin/epm-check
+3
-1
epm-update
bin/epm-update
+2
-2
No files found.
bin/epm
View file @
20b4ba42
...
...
@@ -140,7 +140,7 @@ for opt in "$@" ; do
-ql
|
filelist
)
# HELPCMD: print package file list
epm_cmd
=
filelist
;;
check
)
# HELPCMD: check local package base integrity
check
|fix
)
# HELPCMD: check local package base integrity and fix it
epm_cmd
=
check
;;
checkpkg|integrity
)
# HELPCMD: check package integrity
...
...
bin/epm-check
View file @
20b4ba42
...
...
@@ -24,7 +24,9 @@ epm_check()
{
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
docmd
$SUDO
apt-get check
||
exit
#docmd $SUDO apt-get check || exit
docmd
$SUDO
apt-get update
||
exit
docmd
$SUDO
apt-get
-f
install
||
exit
;;
apt-dpkg
)
docmd
$SUDO
apt-get update
||
exit
...
...
bin/epm-update
View file @
20b4ba42
...
...
@@ -25,11 +25,11 @@ epm_update()
case
$PMTYPE
in
"apt-rpm"
)
docmd
$SUDO
apt-get update
||
exit
docmd
$SUDO
apt-get
-f
install
||
exit
#
docmd $SUDO apt-get -f install || exit
;;
"apt-dpkg"
)
docmd
$SUDO
apt-get update
||
exit
docmd
$SUDO
apt-get
-f
install
||
exit
#
docmd $SUDO apt-get -f install || exit
#docmd $SUDO apt-get autoremove
;;
urpm-rpm
)
...
...
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