git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c62a2
)
rpm-setup: add support for opensuse non-interactive mode.
author
Dario Lombardo
<lomato@gmail.com>
Thu, 7 Jun 2018 11:42:55 +0000
(13:42 +0200)
committer
Anders Broman
<a.broman58@gmail.com>
Fri, 8 Jun 2018 11:22:58 +0000
(11:22 +0000)
Change-Id: I3d32854c958d1369f5d475ce67c3932b9357a23f
Reviewed-on: https://code.wireshark.org/review/28110
Reviewed-by: Anders Broman <a.broman58@gmail.com>
tools/rpm-setup.sh
patch
|
blob
|
history
diff --git
a/tools/rpm-setup.sh
b/tools/rpm-setup.sh
index 334cb315014a7b45e9ef1d7805ab8ac0c96bbbb2..3f1cb85f6711f2901745ba760b0e3bf96da7f901 100755
(executable)
--- a/
tools/rpm-setup.sh
+++ b/
tools/rpm-setup.sh
@@
-85,6
+85,7
@@
fi
case $PM in
*/zypper)
+ PM_OPT="--non-interactive"
PM_SEARCH="search -x --provides"
;;
*/dnf)
@@
-181,7
+182,7
@@
then
ACTUAL_LIST="$ACTUAL_LIST $ADDITIONAL_LIST"
fi
-$PM install $ACTUAL_LIST $OPTIONS
+$PM
$PM_OPT
install $ACTUAL_LIST $OPTIONS
# Now arrange for optional support libraries
if [ ! $ADDITIONAL ]