From d327c9b51e3947df80a7c1e6a5f13008ee983f9b Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sat, 22 Dec 2012 19:20:30 +0100 Subject: [PATCH] add packaging to tricorder, as in the future this will need to be privileged --- package/make-package.sh | 11 +++++++++++ package/manifest.package | 5 +++++ 2 files changed, 16 insertions(+) create mode 100755 package/make-package.sh create mode 100644 package/manifest.package 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" +} -- 2.43.0