openbsd-ports/print/cups/patches/patch-init_cups_sh_in
bernd e5effe71d7 Update to cups-1.3.10. With lots of help from ajacoutot@.
There's an issue with the admin.cgi which will be fixed
in-tree.

ok ajacoutot@, jasper@
2009-04-27 08:25:39 +00:00

21 lines
464 B
Plaintext

$OpenBSD: patch-init_cups_sh_in,v 1.2 2009/04/27 08:25:39 bernd Exp $
--- init/cups.sh.in.orig Wed Jul 11 23:46:42 2007
+++ init/cups.sh.in Tue Mar 17 16:21:50 2009
@@ -82,6 +82,16 @@ case "`uname`" in
fi
;;
+ OpenBSD*)
+ # Set the timezone. /etc/localtime is a symlink in
+ # defualt install, but it could be a regular file
+ if test -e /etc/localtime; then
+ export TZ=/etc/localtime
+ fi
+
+ IS_ON=:
+ ;;
+
*)
IS_ON=/bin/true
ECHO=echo