[Git][NTPsec/ntpsec][master] Test for apt-get - there's a spurious "apt" related to Java.

Eric S. Raymond gitlab at mg.gitlab.com
Fri Jan 20 08:11:21 UTC 2017


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


Commits:
38a1e81d by Eric S. Raymond at 2017-01-20T03:11:11-05:00
Test for apt-get - there's a spurious "apt" related to Java.

- - - - -


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 --version 2>/dev/null
+elif apt-get --version 2>/dev/null
 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/38a1e81dc5253fcb15ab13188e29ed0cfdee8b8c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170120/4f6af3eb/attachment.html>


More information about the vc mailing list