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
302e931a
Commit
302e931a
authored
Feb 25, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-simulate: quiet checking
parent
cba68b41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
epm-simulate
bin/epm-simulate
+7
-7
No files found.
bin/epm-simulate
View file @
302e931a
...
...
@@ -34,20 +34,20 @@ __use_yum_assumeno()
__check_yum_result
()
{
grep
"^No package"
$1
&&
return
1
grep
"^Complete!"
$1
&&
return
0
grep
"Exiting on user [Cc]ommand"
$1
&&
return
0
grep
-q
"^No package"
$1
&&
return
1
grep
-q
"^Complete!"
$1
&&
return
0
grep
-q
"Exiting on user [Cc]ommand"
$1
&&
return
0
# dnf issue
grep
"^Operation aborted."
$1
&&
return
0
grep
-q
"^Operation aborted."
$1
&&
return
0
# return default result by default
return
$2
}
__check_pacman_result
()
{
grep
"^error: target not found:"
$1
&&
return
1
grep
"^Total Installed Size:"
$1
&&
return
0
grep
"^Total Download Size:"
$1
&&
return
0
grep
-q
"^error: target not found:"
$1
&&
return
1
grep
-q
"^Total Installed Size:"
$1
&&
return
0
grep
-q
"^Total Download Size:"
$1
&&
return
0
# return default result by default
return
$2
}
...
...
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