From d7adb46c71cd8fbb4260b5d2d55db94b2d133ba2 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 7 Oct 2008 11:32:26 +0200 Subject: [PATCH] Added a script to update the sf.net website. --- scripts/update-sf.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 scripts/update-sf.pl diff --git a/scripts/update-sf.pl b/scripts/update-sf.pl new file mode 100755 index 0000000..9bde64e --- /dev/null +++ b/scripts/update-sf.pl @@ -0,0 +1,15 @@ +#!/bin/sh +set -e +cd ~/sf.net +rm -rf htdocs +mkdir htdocs +cd htdocs + +O=~/ids/docs +cp -aL $O/static . +cp -aL $O/{v2.2,pci.ids*} . +sed <$O/index.html >index.html -e ' + s@href="/read/@href="http://pci-ids.ucw.cz/read/@g +' + +rsync -avz --delete ~/sf.net/htdocs mares,pciids@web.sourceforge.net: -- 2.39.2