summaryrefslogtreecommitdiffstats
path: root/debian/version-hacker.sh
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-10-29 21:12:39 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-10-29 21:12:39 +0000
commita5ac33e90dfdd61062d22ad73f93edd57aedf3ae (patch)
treeeabaadb2a1d2685c8b0c9daade619903766002e6 /debian/version-hacker.sh
parent656d9d1b091718294681d13cf502071b87cbacb6 (diff)
downloadbcfg2-a5ac33e90dfdd61062d22ad73f93edd57aedf3ae.tar.gz
bcfg2-a5ac33e90dfdd61062d22ad73f93edd57aedf3ae.tar.bz2
bcfg2-a5ac33e90dfdd61062d22ad73f93edd57aedf3ae.zip
Add new Debian packaging from Sami Haahtinen
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5512 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'debian/version-hacker.sh')
-rwxr-xr-xdebian/version-hacker.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/version-hacker.sh b/debian/version-hacker.sh
deleted file mode 100755
index e400cb37f..000000000
--- a/debian/version-hacker.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-CWD=`pwd`
-echo $CWD
-
-cd debian/
-
-#get the default python version for this system.
-VERSION=`python -c 'import sys;major,minor = sys.version_info[0:2]; print minor '`
-
-#hardcoded version is 2.3
-
-if [ ${VERSION} -eq 4 ]; then
-
-#fix all the files that are version specific
-
- for fd in bcfg2.install bcfg2.postinst.debhelper bcfg2-server.install bcfg2-server.posti\nst.debhelper;
- do
- sed -e 's/2\.3/2\.4/g' $fd > /tmp/${fd}.tmp
- mv /tmp/${fd}.tmp $fd
- #rm /tmp/${fd}.tmp
- done
-
-fi
-
-cd $CWD