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
5818c37e
Commit
5818c37e
authored
Jul 26, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-check: add support for --auto and --verbose
parent
537247fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
epm-check
bin/epm-check
+7
-5
No files found.
bin/epm-check
View file @
5818c37e
...
...
@@ -22,27 +22,29 @@ load_helper epm-check_updated_repo
epm_check
()
{
update_repo_if_needed
local
APTOPTIONS
=
"
$(
subst_option non_interactive
-y
)
"
local
DNFOPTIONS
=
"
$(
subst_option non_interactive
-y
)
$(
subst_option verbose
--verbose
)
"
case
$PMTYPE
in
apt-rpm
)
#sudocmd apt-get check || exit
#sudocmd apt-get update || exit
sudocmd apt-get
-f
install
||
return
sudocmd apt-get
-f
$APTOPTIONS
install
||
return
info
"You can use epm dedup also"
;;
apt-dpkg
)
#sudocmd apt-get check || exit
#sudocmd apt-get update || exit
sudocmd apt-get
-f
install
||
return
sudocmd apt-get
-f
$APTOPTIONS
install
||
return
;;
packagekit
)
docmd pkcon repair
;;
aptitude-dpkg
)
sudocmd aptitude
-f
install
||
return
sudocmd aptitude
-f
$APTOPTIONS
install
||
return
#sudocmd apt-get autoremove
;;
yum-rpm
)
docmd yum check
docmd yum check
$DNFOPTIONS
docmd package-cleanup
--problems
#docmd package-cleanup --dupes
...
...
@@ -51,7 +53,7 @@ case $PMTYPE in
docmd rpm
-Va
--nofiles
--nodigest
;;
dnf-rpm
)
sudocmd dnf check
sudocmd dnf check
$DNFOPTIONS
;;
emerge
)
sudocmd revdep-rebuild
...
...
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