r77973 - /scripts/update-website
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Fri Jul 29 09:47:54 UTC 2011
Author: dmn
Date: Fri Jul 29 09:47:52 2011
New Revision: 77973
URL: http://svn.debian.org/wsvn/?sc=1&rev=77973
Log:
sync website from website.git
Modified:
scripts/update-website
Modified: scripts/update-website
URL: http://svn.debian.org/wsvn/scripts/update-website?rev=77973&op=diff
==============================================================================
--- scripts/update-website (original)
+++ scripts/update-website Fri Jul 29 09:47:52 2011
@@ -1,6 +1,7 @@
#!/bin/bash
# © 2004 Joachim Breitner <nomeata at debian.org>
# changed by gregor herrmann <gregor+debian at comodo.priv.at>
+# © 2011 Damyan Ivanov <dmn at debian.org>
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
@@ -22,11 +23,11 @@
# Place this script somewhere where it can be executed in SVN's post-commit hook
HTDOCS=/home/groups/pkg-perl/htdocs
-REPOSITORY=file:///svn/pkg-perl/website
+REPOSITORY=/git/pkg-perl/website.git
umask 002
-svn export --force $REPOSITORY $HTDOCS
+git archive --format=tar master | tar -C $HTDOCS -x
# Enter here commands for automatical stuff
cd $HTDOCS
More information about the Pkg-perl-cvs-commits
mailing list