Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37569401
en ru br
ALT Linux repositórios
S:2.4.7-alt1
5.0: 1.3.10-alt1
4.1: 1.3.10-alt0.M41.4
+updates:1.3.9-alt1.M41.1
4.0: 1.2.12-alt6.M40.9
+updates:1.2.12-alt6.M40.8
3.0: 1.1.20-alt14.1

Group :: Sistema/Servidores
RPM: cups

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: ALT-remove_BSD.patch
Download


diff -ur cups-1.7.0.old/scheduler/cups.sh.in cups-1.7.0/scheduler/cups.sh.in
--- cups-1.7.0.old/scheduler/cups.sh.in	2012-10-15 21:02:10.000000000 +0000
+++ cups-1.7.0/scheduler/cups.sh.in	2013-12-17 07:07:56.349654612 +0000
@@ -42,19 +42,6 @@
 		ECHO_ERROR=:
 		;;
 
-	Darwin*)
-		. /etc/rc.common
-
-		if test "${CUPS:=-YES-}" = "-NO-"; then
-			exit 0
-		fi
-
-        	IS_ON=:
-		ECHO=ConsoleMessage
-		ECHO_OK=:
-		ECHO_ERROR=:
-		;;
-
 	Linux*)
 		IS_ON=/bin/true
 		if test -f /etc/init.d/functions; then
@@ -86,7 +73,7 @@
 # found, then Greenwich Mean Time (GMT) will probably be used.
 #
 
-for file in /etc/TIMEZONE /etc/rc.config /etc/sysconfig/clock; do
+for file in /etc/sysconfig/clock; do
 	if test -f $file; then
 	        . $file
 	fi
@@ -160,10 +143,6 @@
 case $1 in
 	start | restart | reload)
 		if $IS_ON cups; then
-			if test -x /sbin/portrelease; then
-				/sbin/portrelease cups
-			fi
-
 			if test "$pid" != ""; then
 				kill -HUP $pid
 			else
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009