SOURCES: irssi-themes-generate.sh - theme url changed - avoid crea...

glen glen at pld-linux.org
Sun Dec 11 16:57:33 CET 2005


Author: glen                         Date: Sun Dec 11 15:57:33 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- theme url changed
- avoid creating empty tarball

---- Files affected:
SOURCES:
   irssi-themes-generate.sh (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/irssi-themes-generate.sh
diff -u SOURCES/irssi-themes-generate.sh:1.2 SOURCES/irssi-themes-generate.sh:1.3
--- SOURCES/irssi-themes-generate.sh:1.2	Sun Oct 16 16:20:16 2005
+++ SOURCES/irssi-themes-generate.sh	Sun Dec 11 16:57:28 2005
@@ -1,6 +1,6 @@
 #!/bin/sh
 # location for irssi themes
-url='http://www.irssi.org/themes/'
+url='http://www.irssi.org/themefiles/'
 
 # this script must reside inSOURCES dir
 set -e
@@ -15,7 +15,8 @@
 	cd $tmpd
 	mkdir irssi-themes-$snap
 	cd irssi-themes-$snap
-   	wget -r -np -l1 -nH --cut-dirs=1 -A theme $url
+	wget -r -np -l1 -nH --cut-dirs=1 -A theme $url
+	rmdir irssi-themes-$snap 2>/dev/null || :
 	cd ..
 	tar cjf $top/irssi-themes-$snap.tar.bz2 irssi-themes-$snap
 	cd $top
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/irssi-themes-generate.sh?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list