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
dce575f4
Commit
dce575f4
authored
12 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simulate: return 2 if have no work
parent
e6072bd5
master
c7.1
c8
c8.1
devel
n1
new3
p6
p7
p8
r1
todo-packd
todo-serv-user
tt
tt1
Tags unavailable
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
epm-simulate
bin/epm-simulate
+3
-3
No files found.
bin/epm-simulate
View file @
dce575f4
...
...
@@ -23,11 +23,11 @@ load_helper epm-install
epm_simulate
()
{
local
CMD
[
-z
"
$pkg_filenames
"
]
&&
echo
"Skip empty list"
&&
return
0
[
-z
"
$pkg_filenames
"
]
&&
echo
"Skip empty list"
&&
return
2
local
filenames
=
"
$(
echo
$pkg_filenames
| filter_out_installed_packages
)
"
# FIXME: can't correct receive status 2 in mandriva?
[
-z
"
$filenames
"
]
&&
echo
"All packages are already installed"
&&
return
0
#&& return
2
[
-z
"
$filenames
"
]
&&
echo
"All packages are already installed"
&&
return
2
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
...
...
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