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
Vladislav
eepm
Commits
26eb6f81
Commit
26eb6f81
authored
Oct 26, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-simulate: improve simulate on Slackware
parent
889b29e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
epm-simulate
bin/epm-simulate
+6
-3
No files found.
bin/epm-simulate
View file @
26eb6f81
...
...
@@ -55,10 +55,13 @@ epm_simulate()
slackpkg
)
#docmd /usr/sbin/slackpkg -batch=on -default_answer=yes download
# just try search every package
for
i
in
$pkg_filenames
;
do
pkg_filenames
=
"
$i
-"
epm_search |
grep
installed
||
return
# FIXME: epm_search have to return false status code if the package does not found
local
pkg res
res
=
0
for
pkg
in
$filenames
;
do
pkg_filenames
=
"
$pkg
-[0-9]"
epm_search |
grep
-E
"(installed|upgrade)"
||
{
res
=
1
;
echo
"Does not found in repository."
;
}
done
return
0
;;
return
$res
;;
*
)
fatal
"Do not known simulate command for
$PMTYPE
"
;;
...
...
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