[Git][NTPsec/ntpsec][master] OpenSUSE: prefer zypper over yast, avoid nasty messages about it
Gary E. Miller
gitlab at mg.gitlab.com
Tue Jan 24 04:00:31 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
b3f75c42 by Gary E. Miller at 2017-01-23T19:59:51-08:00
OpenSUSE: prefer zypper over yast, avoid nasty messages about it
- - - - -
1 changed file:
- buildprep
Changes:
=====================================
buildprep
=====================================
--- a/buildprep
+++ b/buildprep
@@ -41,12 +41,13 @@ then
elif apt-get --version >/dev/null 2>&1
then
installer=apt
-elif yast -h >/dev/null 2>&1
-then
- installer=yast
elif zypper -h >/dev/null 2>&1
then
+ # OpenSUSE prefers zypper over yast
installer=zypper
+elif yast -h >/dev/null 2>&1
+then
+ installer=yast
else
installer=unknown
fi
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b3f75c4250943fbde0d4612823c27de75b89b2dd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170124/97ff8102/attachment.html>
More information about the vc
mailing list