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
Nurlan
eepm
Commits
1da9deff
Commit
1da9deff
authored
8 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add --no-remove support during upgrade
parent
33adcc60
master
3.32.0
3.29.0
3.28.5
3.27.0
3.26.10
3.23.0
3.22.3
3.22.2
3.22.1
3.21.8
3.19.4
3.18.6
3.17.3-alt1
3.17.0
3.16.1
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
epm
bin/epm
+4
-0
epm-upgrade
bin/epm-upgrade
+1
-1
No files found.
bin/epm
View file @
1da9deff
...
...
@@ -72,6 +72,7 @@ Descr="epm - EPM package manager"
verbose
=
quiet
=
nodeps
=
noremove
=
force
=
short
=
sort
=
...
...
@@ -314,6 +315,9 @@ check_option()
--force
)
# HELPOPT: force install/remove package (f.i., override)
force
=
"--force"
;;
--noremove
|
--no-remove
)
# HELPOPT: exit if any packages are to be removed during upgrade
noremove
=
"--no-remove"
;;
--short
)
# HELPOPT: short output (just 'package' instead 'package-version-release')
short
=
"--short"
;;
...
...
This diff is collapsed.
Click to expand it.
bin/epm-upgrade
View file @
1da9deff
...
...
@@ -34,7 +34,7 @@ epm_upgrade()
apt-rpm|apt-dpkg
)
# non_interactive
# Функцию добавления параметра при условии
CMD
=
"apt-get dist-upgrade"
CMD
=
"apt-get dist-upgrade
$noremove
"
;;
aptitude-dpkg
)
CMD
=
"aptitude dist-upgrade"
...
...
This diff is collapsed.
Click to expand it.
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