grim/guifications2-theme-howto
Clone
Summary
Browse
Changes
Graph
This is a hacked up version of the po update script, and it's pretty fugly, who wants to clean it up?
2005-05-08, amc_grim
cf58d6f89912
Parents
29240f49a0c9
Children
950f7f7c4918
This is a hacked up version of the po update script, and it's pretty fugly, who wants to clean it up?
1 files changed, 26 insertions(+), 0 deletions(-)
+26
-0
siteupdate.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/siteupdate.sh Sun May 08 08:24:54 2005 +0000
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# guifications i18n stats update utility.
+# (C) 2005 The Guifications Team
+#
+# Author(s):
+# Gary Kramlich
+
+# This script assumes one of two things. One being that your sourceforge name
+# is the same username as your shell username, or that you have added a host
+# block to your ~/.ssh/config containing your username for sourceforge. Please
+# make sure you meet these requirements before saying it doesn't work.
+
+# This is the dir we're copying the docbook to, make sure that these files
+# (or the directory they're in) are group writable.
+SF_DIR="/home/groups/g/gu/guifications/htdocs/Guifications/themes/"
+
+# This is the directory that the docbook got outputed to
+OUTPUT=output
+
+# Lets do this now...
+
+OLDDIR=`pwd`
+cd "$OUTPUT"
+tar zcf - * | ssh shell.sf.net "cd $SF_DIR ; tar zxvf - ; chmod -R 664 *.html; chmod -R 644 images/*.png"
+cd "$OLDDIR"