From 25aae11576c0a0142b8e3bf3a4a140d9837977d5 Mon Sep 17 00:00:00 2001 From: lars Date: Thu, 7 Dec 2006 12:20:43 +0000 Subject: [PATCH] constant width of the main screen (works for mozilla/ff and ie55/60 refresh link for logs feature change default setting of UseConfigPartition to "0" README file rewritten README.samba added README.davfs added README.Debian rewritten event scripts for samba and apach2_dav improved do not redirect to "disks overview" after successful plugin execution (e.g. date, ...) unclean web dataset fixed removed some non-translateable strings from po and pot files automatically update the cryptobox version according to the debian package version number --- make-deb.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/make-deb.sh b/make-deb.sh index 092b385..2568d56 100755 --- a/make-deb.sh +++ b/make-deb.sh @@ -12,6 +12,11 @@ get_debian_version() head -1 "$SRC_DIR/debian/changelog" | cut -f 2 -d "(" | cut -f 1 -d "-" } +set_cryptobox_package_version() +# set the version attribute in scr/cryptobox/__init__.py +{ + sed -i "s/^__version__.*$/__version__ = \"$1\"/" "$SRC_DIR/src/cryptobox/__init__.py" +} [ $# -lt 1 -o $# -gt 2 ] && echo "Syntax: `basename $0` VERSION {PATH}" && echo && exit 1 REL_SRC_DIR=${PREFIX}-${1} @@ -28,6 +33,7 @@ if test "$1" = "$deb_version" exit 3 fi +set_cryptobox_package_version "$1" # create the tar file "$(dirname $0)/make-tar.sh" "$@"