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
c3c46ff8
Commit
c3c46ff8
authored
Jul 14, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm mark: add checkhold
parent
30b43e62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
epm-mark
bin/epm-mark
+19
-0
No files found.
bin/epm-mark
View file @
c3c46ff8
...
...
@@ -187,6 +187,22 @@ esac
}
epm_mark_checkhold
()
{
# workaround against epm assure questions
case
$PMTYPE
in
dnf-rpm
)
__dnf_assure_versionlock
load_helper epm-query
docmd dnf versionlock list |
grep
"^
$1
"
|
sed
-e
's|\.\*$||'
|
grep
-v
" "
| filter_pkgnames_to_short |
grep
-q
"^
$1
$"
return
;;
esac
epm_mark_showhold |
grep
-q
"^
$1
$"
}
epm_mark_auto
()
{
...
...
@@ -326,6 +342,9 @@ epm_mark()
showhold
)
# HELPCMD: print the list of packages on hold
epm_mark_showhold
"
$@
"
;;
checkhold
)
# HELPCMD: return true if the package is on hold
epm_mark_checkhold
"
$@
"
;;
auto
)
# HELPCMD: mark the given package(s) as automatically installed
epm_mark_auto
"
$@
"
;;
...
...
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