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
266628d8
Commit
266628d8
authored
Mar 20, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm autoremove --direct: fix args handling
parent
fc1042cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
epm-autoremove
bin/epm-autoremove
+4
-4
No files found.
bin/epm-autoremove
View file @
266628d8
...
@@ -153,13 +153,13 @@ __epm_autoremove_altrpm()
...
@@ -153,13 +153,13 @@ __epm_autoremove_altrpm()
load_helper epm-packages
load_helper epm-packages
assure_exists /usr/share/apt/scripts/list-nodeps.lua apt-scripts
assure_exists /usr/share/apt/scripts/list-nodeps.lua apt-scripts
if
[
-z
"
$
pkg_names
"
]
;
then
if
[
-z
"
$
*
"
]
;
then
pkg_names
=
"
$epm_autoremove_default_groups
"
pkg_names
=
"
$epm_autoremove_default_groups
"
elif
[
"
$
pkg_names
"
=
"python"
]
;
then
elif
[
"
$
*
"
=
"python"
]
;
then
pkg_names
=
"python2 python3"
pkg_names
=
"python2 python3"
fi
fi
for
i
in
$pkg_names
;
do
for
i
in
"
$@
"
;
do
case
$i
in
case
$i
in
libs
)
libs
)
__epm_autoremove_altrpm_lib libs
__epm_autoremove_altrpm_lib libs
...
@@ -242,7 +242,7 @@ case $BASEDISTRNAME in
...
@@ -242,7 +242,7 @@ case $BASEDISTRNAME in
"alt"
)
"alt"
)
if
[
-z
"
$direct
"
]
;
then
if
[
-z
"
$direct
"
]
;
then
[
-n
"
$1
"
]
&&
fatal
"
R
un autoremove without args or with --direct. Check epm autoremove --help to available commands."
[
-n
"
$1
"
]
&&
fatal
"
Please, r
un autoremove without args or with --direct. Check epm autoremove --help to available commands."
if
epm installed
sudo
;
then
if
epm installed
sudo
;
then
epm mark manual
sudo
||
fatal
epm mark manual
sudo
||
fatal
fi
fi
...
...
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