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
1e074b6b
Commit
1e074b6b
authored
Nov 12, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove: add support dry mode for rpm/apt
parent
48ffe670
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
epm-remove
bin/epm-remove
+11
-3
No files found.
bin/epm-remove
View file @
1e074b6b
...
...
@@ -64,13 +64,13 @@ epm_remove_names()
case
$PMTYPE
in
apt-dpkg
)
sudocmd apt-get remove
--purge
$@
sudocmd apt-get remove
--purge
$
APTOPTIONS
$
@
return
;;
aptitude-dpkg
)
sudocmd aptitude purge
$@
return
;;
apt-rpm
)
sudocmd apt-get remove
$@
sudocmd apt-get remove
$
APTOPTIONS
$
@
return
;;
deepsolver-rpm
)
sudocmd ds-remove
$@
...
...
@@ -255,7 +255,15 @@ epm_remove()
if
[
-n
"
$dryrun
"
]
;
then
info
"Packages for removing:"
echo
"
$pkg_names
"
return
case
$PMTYPE
in
apt-rpm
)
nodeps
=
"--test"
APTOPTIONS
=
"--simulate"
;;
*
return
;;
esac
fi
epm_remove_low
$pkg_names
&&
return
...
...
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