From: Robert Kaiser Date: Sat, 22 Dec 2012 18:20:30 +0000 (+0100) Subject: add packaging to tricorder, as in the future this will need to be privileged X-Git-Tag: production~26 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=d327c9b51e3947df80a7c1e6a5f13008ee983f9b;p=tricorder.git add packaging to tricorder, as in the future this will need to be privileged --- diff --git a/package/make-package.sh b/package/make-package.sh new file mode 100755 index 0000000..c9f3d95 --- /dev/null +++ b/package/make-package.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +pkgdir=`pwd` +cd `dirname $0` +cd .. +origdir=`pwd` + +rm -v $pkgdir/* +zip -r -D -0 $pkgdir/package.zip * -x package/* +dver=`date +%y.%j.%k` +sed -e "s/DVER/$dver/" package/manifest.package > $pkgdir/manifest.package diff --git a/package/manifest.package b/package/manifest.package new file mode 100644 index 0000000..6027d6f --- /dev/null +++ b/package/manifest.package @@ -0,0 +1,5 @@ +{ + "name": "Tricorder", + "package_path": "http://tricorder.kairo.at/package.zip", + "version": "0.DVER" +}