]> TLD Linux GIT Repositories - packages/rc-scripts.git/blobdiff - getrcscripts.sh
- obsolete, we use patch on release tarballs to TLDize sources
[packages/rc-scripts.git] / getrcscripts.sh
diff --git a/getrcscripts.sh b/getrcscripts.sh
deleted file mode 100755 (executable)
index a9c9c62..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-#
-# get pld rc-scripts from svn, always get stable tags
-#
-# author: Bartosz Świątek shadzik@tld-linux.org
-
-if [ $# -lt 1 ]; then
-       echo "Usage: $0 version"
-       echo
-       echo "Example: $0 0.4.5.1"
-       exit 1
-fi
-
-VERSION=$1
-
-echo "Getting rc-scripts-$VERSION"
-svn co http://svn.pld-linux.org/svn/rc-scripts/tags/$VERSION rc-scripts-$VERSION >/dev/null || exit 1
-
-echo "Adjusting for TLD"
-cd rc-scripts-$VERSION
-find . -type f |xargs sed -i 's/PLD/TLD/g'
-
-echo "Archiving..."
-cd ..
-tar czf rc-scripts-$VERSION.tar.gz rc-scripts-$VERSION
-
-echo "Cleaning up..."
-rm -rf rc-scripts-$VERSION
-
-md5sum rc-scripts-$VERSION.tar.gz