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
ae80eb12
Commit
ae80eb12
authored
May 09, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm autoorphans: implement skip packages on hold
parent
e159cec8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
epm-autoorphans
bin/epm-autoorphans
+10
-2
No files found.
bin/epm-autoorphans
View file @
ae80eb12
...
...
@@ -42,11 +42,19 @@ case $BASEDISTRNAME in
|
grep
-v
--
"^distro_info$"
\
|
grep
-v
--
"^kernel"
)
# TODO: implement for other PMTYPE
local
play_installed
=
"
$(
epm play
--list-installed-packages
)
"
if
[
-n
"
$play_installed
"
]
;
then
echo
"Skip follow packages installed via epm play:
$play_installed
"
echo
"Skip follow packages installed via epm play:
$(
echo
$play_installed
| xargs
-n1000
echo
)
"
PKGLIST
=
"
$(
estrlist exclude
"
$play_installed
"
"
$PKGLIST
"
)
"
fi
# TODO: implement for other PMTYPE
local
hold_packages
=
"
$(
epm mark showhold
)
"
if
[
-n
"
$hold_packages
"
]
;
then
echo
"Skip follow packages on hold:
$(
echo
$hold_packages
| xargs
-n1000
echo
)
"
PKGLIST
=
"
$(
estrlist exclude
"
$hold_packages
"
"
$PKGLIST
"
)
"
fi
PKGLIST
=
"
$(
estrlist exclude
"
$play_installed
"
"
$PKGLIST
"
)
"
if
[
-n
"
$PKGLIST
"
]
;
then
if
[
-z
"
$dryrun
"
]
;
then
...
...
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