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

Pierre Schmitz pierre at archlinux.org
Sat Jan 14 12:04:03 UTC 2017


    Date: Saturday, January 14, 2017 @ 12:04:02
  Author: pierre
Revision: 286294

Rely on tmpfiles hook

Modified:
  php/trunk/PKGBUILD
Deleted:
  php/trunk/php-fpm.install

-----------------+
 PKGBUILD        |    1 -
 php-fpm.install |    9 ---------
 2 files changed, 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-14 12:03:42 UTC (rev 286293)
+++ PKGBUILD	2017-01-14 12:04:02 UTC (rev 286294)
@@ -209,7 +209,6 @@
 	pkgdesc='FastCGI Process Manager for PHP'
 	depends=('php' 'systemd')
 	backup=('etc/php/php-fpm.conf' 'etc/php/php-fpm.d/www.conf')
-	install='php-fpm.install'
 	options=('!emptydirs')
 
 	cd ${srcdir}/build

Deleted: php-fpm.install
===================================================================
--- php-fpm.install	2017-01-14 12:03:42 UTC (rev 286293)
+++ php-fpm.install	2017-01-14 12:04:02 UTC (rev 286294)
@@ -1,9 +0,0 @@
-post_install() {
-	if [[ ! -d run/php-fpm ]]; then
-		usr/bin/systemd-tmpfiles --create php-fpm.conf
-	fi
-}
-
-post_upgrade() {
-	post_install
-}



More information about the arch-commits mailing list