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
3d447f60
Commit
3d447f60
authored
3 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use return instead of exit in functions
parent
d4208c6b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
epm-remove
bin/epm-remove
+1
-1
epm-upgrade
bin/epm-upgrade
+1
-1
No files found.
bin/epm-remove
View file @
3d447f60
...
...
@@ -295,7 +295,7 @@ epm_remove()
if
[
-z
"
$pkg_names
"
]
;
then
warning
"no package(s) to remove."
exit
0
return
fi
# remove according current arch (if x86_64) by default
pkg_names
=
"
$(
echo
$pkg_names
| exp_with_arch_suffix
)
"
...
...
This diff is collapsed.
Click to expand it.
bin/epm-upgrade
View file @
3d447f60
...
...
@@ -46,7 +46,7 @@ epm_upgrade()
[
-n
"
$verbose
"
]
&&
info
"Packages to upgrade:
$installlist
"
if
[
-z
"
$installlist
"
]
;
then
warning
"There is no installed packages for upgrade from task
$*
"
exit
22
return
22
fi
try_change_alt_repo
...
...
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