From: Fredrik Tolf Date: Sun, 14 Oct 2007 12:30:16 +0000 (+0200) Subject: Add apkg skeleton for doldacond and fix its package. X-Git-Tag: 1.0~12 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=7760d31e7f9eecfdfbc47d6e937298f30b17e341;p=doldaconnect.git Add apkg skeleton for doldacond and fix its package. --- diff --git a/autopackage/@dolda2000.com/fredrik/doldaconnect/doldacond/skeleton.1 b/autopackage/@dolda2000.com/fredrik/doldaconnect/doldacond/skeleton.1 new file mode 100644 index 0000000..5d59c85 --- /dev/null +++ b/autopackage/@dolda2000.com/fredrik/doldaconnect/doldacond/skeleton.1 @@ -0,0 +1,18 @@ +# -*-shell-script-*- + +[Meta] +RootName: @dolda2000.com/fredrik/doldaconnect/doldacond +DisplayName: Dolda Connect daemon +ShortName: doldaconnect-daemon +Skeleton-Author: Fredrik Tolf +Skeleton-Version: 1 +Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-daemon.xml + +[Test] +SOFTWARE_VERSIONS= +if which doldacond >/dev/null 2>&1; then + SOFTWARE_VERSIONS="$(doldacond -V | sed -n 's/^relver \(.*\)$/\1/p')" +fi +if [ -n "$SOFTWARE_VERSIONS" ]; then + INTERFACE_VERSIONS=1.0 +fi diff --git a/autopackage/doldacond.apspec.in b/autopackage/doldacond.apspec.in index ab29421..1884bf9 100644 --- a/autopackage/doldacond.apspec.in +++ b/autopackage/doldacond.apspec.in @@ -1,7 +1,7 @@ # -*-shell-script-*- [Meta] -RootName: @dolda2000.com/fredrik/doldaconnect/dolcon:$SOFTWAREVERSION +RootName: @dolda2000.com/fredrik/doldaconnect/doldacond:$SOFTWAREVERSION DisplayName: Dolda Connect daemon ShortName: doldaconnect-daemon Maintainer: Fredrik Tolf