[csw-devel] SF.net SVN: gar:[17121] csw/mgar/pkg/splix/trunk/files

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Tue Feb 21 16:15:41 CET 2012


Revision: 17121
          http://gar.svn.sourceforge.net/gar/?rev=17121&view=rev
Author:   cgrzemba
Date:     2012-02-21 15:15:41 +0000 (Tue, 21 Feb 2012)
Log Message:
-----------
splix/trunk: fix filename

Added Paths:
-----------
    csw/mgar/pkg/splix/trunk/files/CSWsplix.postinstall

Removed Paths:
-------------
    csw/mgar/pkg/splix/trunk/files/postinstall

Added: csw/mgar/pkg/splix/trunk/files/CSWsplix.postinstall
===================================================================
--- csw/mgar/pkg/splix/trunk/files/CSWsplix.postinstall	                        (rev 0)
+++ csw/mgar/pkg/splix/trunk/files/CSWsplix.postinstall	2012-02-21 15:15:41 UTC (rev 17121)
@@ -0,0 +1,31 @@
+#/bin/ksh
+
+MANUFACTURER=samsung
+CMS_ARCH=${MANUFACTURER}_cms.tar.bz2
+SITE=splix.ap2c.org
+DESTDIR=$(cups-config --datadir)/profiles/$MANAUFACTURER
+
+echo "try to download CMS Profile from $SITE for $MANUFACTURER, now"
+echo "for other Manufacturers see hints on Web"
+
+mkdir /tmp/splixcms$$
+cd /tmp/splixcms$$
+# download
+wget  http://$SITE/${CMS_ARCH}
+if [ $? -ne 0 ]; then
+	echo "ERROR: Download failed, clould not install Color Management Profiles"
+	echo "You must install CMS files manually!"
+	exit;
+fi
+# extract
+bzcat ${CMS_ARCH} | tar xf -
+cd cms; pwd
+# create destination 
+ginstall -d -m 755 $DESTDIR
+# copy cms files
+for f in $(ls) ; do
+  ginstall -m 644 $f $DESTDIR
+done
+cd
+# cleanup
+rm -rf /tmp/splixcms$$

Deleted: csw/mgar/pkg/splix/trunk/files/postinstall
===================================================================
--- csw/mgar/pkg/splix/trunk/files/postinstall	2012-02-21 15:06:40 UTC (rev 17120)
+++ csw/mgar/pkg/splix/trunk/files/postinstall	2012-02-21 15:15:41 UTC (rev 17121)
@@ -1,31 +0,0 @@
-#/bin/ksh
-
-MANUFACTURER=samsung
-CMS_ARCH=${MANUFACTURER}_cms.tar.bz2
-SITE=splix.ap2c.org
-DESTDIR=$(cups-config --datadir)/profiles/$MANAUFACTURER
-
-echo "try to download CMS Profile from $SITE for $MANUFACTURER, now"
-echo "for other Manufacturers see hints on Web"
-
-mkdir /tmp/splixcms$$
-cd /tmp/splixcms$$
-# download
-wget  http://$SITE/${CMS_ARCH}
-if [ $? -ne 0 ]; then
-	echo "ERROR: Download failed, clould not install Color Management Profiles"
-	echo "You must install CMS files manually!"
-	exit;
-fi
-# extract
-bzcat ${CMS_ARCH} | tar xf -
-cd cms; pwd
-# create destination 
-ginstall -d -m 755 $DESTDIR
-# copy cms files
-for f in $(ls) ; do
-  ginstall -m 644 $f $DESTDIR
-done
-cd
-# cleanup
-rm -rf /tmp/splixcms$$

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list