[arch-commits] Commit in cups/trunk (PKGBUILD)

Tom Gundersen tomegun at archlinux.org
Sat Aug 4 13:55:39 UTC 2012


    Date: Saturday, August 4, 2012 @ 09:55:39
  Author: tomegun
Revision: 164748

add compat symlink for systemd service file

This hshould hopefully make it easier for people to convert from initscripts to systemd,
and it also allows ssystemd to understand that the rc script and the service file are the same.

This is copied from how the networkmanager package deals with the problem.

Modified:
  cups/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +++
 1 file changed, 3 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-08-04 13:53:19 UTC (rev 164747)
+++ PKGBUILD	2012-08-04 13:55:39 UTC (rev 164748)
@@ -150,4 +150,7 @@
   rm -v ${pkgdir}/usr/share/cups/data/testprint
   # comment out all conversion rules which use any of the removed filters
   perl -p -i -e 's:^(.*\s+bannertops\s*)$:#\1:' /usr/share/cups/mime/mime.convs
+
+  # Provide native service for arch-daemons generator
+  ln -s cups.service "$pkgdir/usr/lib/systemd/system/cupsd.service"
 }




More information about the arch-commits mailing list