[Blends-commit] [SCM] website branch, master, updated. 927e4172b148f8e2c071d1558fe4bd99383839d2

Andreas Tille tille at debian.org
Mon Sep 7 06:57:28 UTC 2015


The following commit has been merged in the master branch:
commit 927e4172b148f8e2c071d1558fe4bd99383839d2
Author: Andreas Tille <tille at debian.org>
Date:   Mon Sep 7 08:55:53 2015 +0200

    Add script to install README.Debian from machine readable importer

diff --git a/webtools/fetch_README.Debian b/webtools/fetch_README.Debian
new file mode 100755
index 0000000..739fe31
--- /dev/null
+++ b/webtools/fetch_README.Debian
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+TARGETDIR=/srv/blends.debian.org/www
+SUBDIR=README.Debian
+cd ${TARGETDIR}
+
+# work around a regression in wget from wheezy to jessie
+# see https://wiki.debian.org/ServicesSSL#wget
+WGET=wget
+dir=/etc/ssl/ca-debian
+test -d $dir && WGET="wget --ca-directory=$dir"
+
+$WGET -q http://blends.alioth.debian.org/machine-readable/README.Debian.tar.bz2 -O - | tar xj
+rm -rf ${TARGETDIR}/${SUBDIR}
+mv machine-readable ${SUBDIR}
+
+if [ -x ~/bin/my_static-update-component ] ; then my_static-update-component ; fi

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list