openbsd-ports/print/cups/patches/patch-init_cups_sh_in
mbalmer d5c1f39165 Update to CUPS 1.2.4, which has lots of improvements over the old version
we had, like better support for foreign languages and the usual plethora
of bugfixes.

tested on various architectures and with various applications that use CUPS
as their printing system.  I verified that all ports that are depending on
CUPS still build.
2006-10-01 10:43:38 +00:00

21 lines
466 B
Plaintext

$OpenBSD: patch-init_cups_sh_in,v 1.1 2006/10/01 10:43:38 mbalmer Exp $
--- init/cups.sh.in.orig Wed Sep 20 11:48:50 2006
+++ init/cups.sh.in Wed Sep 20 11:50:07 2006
@@ -91,6 +91,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