[arch-commits] Commit in apache/trunk (PKGBUILD apache.install)

Anatol Pomozov anatolik at archlinux.org
Wed Jan 11 17:48:54 UTC 2017


    Date: Wednesday, January 11, 2017 @ 17:48:53
  Author: anatolik
Revision: 285695

systemd-tmpfiles invokation moved to hooks

Modified:
  apache/trunk/PKGBUILD
Deleted:
  apache/trunk/apache.install

----------------+
 PKGBUILD       |    1 -
 apache.install |   16 ----------------
 2 files changed, 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-11 17:46:49 UTC (rev 285694)
+++ PKGBUILD	2017-01-11 17:48:53 UTC (rev 285695)
@@ -28,7 +28,6 @@
     'nghttp2: for mod_http2 module'
     'lynx: apachectl status'
 )
-install=apache.install
 source=(
     https://www.apache.org/dist/httpd/httpd-${pkgver}.tar.bz2{,.asc}
     apache.tmpfiles.conf

Deleted: apache.install
===================================================================
--- apache.install	2017-01-11 17:46:49 UTC (rev 285694)
+++ apache.install	2017-01-11 17:48:53 UTC (rev 285695)
@@ -1,16 +0,0 @@
-post_install() {
-  if type -P systemd-tmpfiles &> /dev/null; then
-    systemd-tmpfiles --create apache.conf
-  fi
-}
-
-post_upgrade() {
-  if type -P systemd-tmpfiles &> /dev/null; then
-    systemd-tmpfiles --create apache.conf
-  fi
-
-  if [[ $2 == 2\.2\.* ]]; then
-    # it is a major upgrade, show a useful link to upgrade instructions
-    echo '    Check Apache upgrade instructions: https://httpd.apache.org/docs/2.4/upgrading.html'
-  fi
-}



More information about the arch-commits mailing list