[Git][NTPsec/ntpsec][master] In buildprep: Unlike apt, apt-get needs to be muzzled.

Eric S. Raymond gitlab at mg.gitlab.com
Fri Jan 20 08:54:05 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
619c67b9 by Eric S. Raymond at 2017-01-20T03:53:56-05:00
In buildprep: Unlike apt, apt-get needs to be muzzled.

- - - - -


1 changed file:

- buildprep


Changes:

=====================================
buildprep
=====================================
--- a/buildprep
+++ b/buildprep
@@ -31,7 +31,7 @@ installer=""
 if yum version 2>/dev/null
 then
     installer=yum
-elif apt-get --version 2>/dev/null
+elif apt-get --version >/dev/null 2>&1
 then
     # FIXME, on MacOS and Solaris systems, apt is part of Java
     # http://java.sun.com/j2se/1.5.0/docs/guide/apt/GettingStarted.html



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/619c67b9c60a7af9b54b33155c165f1c69f9ce10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170120/942f79e9/attachment.html>


More information about the vc mailing list