gtk-web r613 - trunk
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-web r613 - trunk
- Date: Tue, 29 Jan 2008 10:42:20 +0000 (GMT)
Author: timj
Date: Tue Jan 29 10:42:20 2008
New Revision: 613
URL: http://svn.gnome.org/viewvc/gtk-web?rev=613&view=rev
Log:
2008-01-29 11:41:37 Tim Janik <timj imendio com>
* install.sh: update to match my local update-web script.
Modified:
trunk/ChangeLog
trunk/install.sh
Modified: trunk/install.sh
==============================================================================
--- trunk/install.sh (original)
+++ trunk/install.sh Tue Jan 29 10:42:20 2008
@@ -1,36 +1,24 @@
#!/bin/sh
-CVSDIR=`pwd`
-
-if test "x$1" != x ; then
- INSTALLDIR=$1
-else
- echo 2>&1 "Usage: install.sh DESTDIR"
- exit 1
-fi
-
-rsync -rlt --omit-dir-times --delete --exclude-from=$CVSDIR/install.exclude $CVSDIR/ $INSTALLDIR/
-
-make_link () {
- from=$1
- to=$2
-
- todir=`dirname $to`
- tobase=`basename $to`
-
- ( cd $INSTALLDIR/$todir && rm -f $tobase && ln -s ../$from $tobase )
+# update gtk.org
+# /home/timj/svn/gtk-web/install.sh /web/gtk # not called directly to prevent forged commands
+# diff -up update-web /home/timj/svn/gtk-web/install.sh
+true && {
+ SRCDIR=/home/timj/svn/gtk-web
+ INSTALLDIR=/web/gtk
+ cd $SRCDIR
+ svn update
+
+ rsync -rlt --delete --omit-dir-times --exclude-from=$SRCDIR/install.exclude $SRCDIR/ $INSTALLDIR/
+
+ for dir in api beos download faq screenshots success plan plan/2.4 plan/2.6 plan/2.8 plan/2.10 plan/ideas plan/meetings ; do
+ for page in site_top.html site_bottom.html box_middle.html box_end.html box_begin.html section_end.html section_begin.html ; do
+ ( cd $INSTALLDIR/$dir/ && rm -f $page && ln -s ../$page $page )
+ done
+ done
+
+ ( cd $INSTALLDIR
+ find . ! -group gtk -exec chgrp gtk \{\} \;
+ find . -type f -a ! -perm -0060 -exec chmod g+rw \{\} \;
+ find . -type d -a ! -perm -0070 -exec chmod g+rwx \{\} \; )
}
-
-for i in api beos download faq screenshots success plan plan/2.4 plan/2.6 plan/2.8 plan/2.10 plan/ideas plan/meetings ; do
- for j in site_top.html site_bottom.html box_middle.html box_end.html box_begin.html section_end.html section_begin.html ; do
- make_link $j $i/$j
- done
-done
-
-( cd $INSTALLDIR && ln -s tutorial2.0 tutorial )
-
-( cd $INSTALLDIR
- find . ! -group gtk -exec chgrp gtk \{\} \;
- find . -type f -a ! -perm -0060 -exec chmod g+rw \{\} \;
- find . -type d -a ! -perm -0070 -exec chmod g+rwx \{\} \; )
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]