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

Pierre Schmitz pierre at archlinux.org
Thu May 31 10:19:24 UTC 2012


    Date: Thursday, May 31, 2012 @ 06:19:23
  Author: pierre
Revision: 160222

systemd-tmpfiles is now available on every system

Modified:
  lighttpd/trunk/lighttpd.install

------------------+
 lighttpd.install |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Modified: lighttpd.install
===================================================================
--- lighttpd.install	2012-05-31 10:03:55 UTC (rev 160221)
+++ lighttpd.install	2012-05-31 10:19:23 UTC (rev 160222)
@@ -1,10 +1,6 @@
 post_install() {
 	if [[ ! -d run/lighttpd ]]; then
-		if [[ -x usr/bin/systemd-tmpfiles ]]; then
-			usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/lighttpd.conf
-		else
-			install -d -m755 -o http -g http run/lighttpd
-		fi
+		usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/lighttpd.conf
 	fi
 }
 




More information about the arch-commits mailing list