diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-03-07 01:50:52 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-03-07 01:50:52 -0600 |
commit | bb2e3cbaabb04d12f3bb80d745fca3b2d101548b (patch) | |
tree | a9acbe51ef5b4e4b95094f07ab7cd2f8949cc7ac /testing | |
parent | 5a137303fabe3f11f35c8e4c496ec14ffc4d2e19 (diff) | |
download | aports-bb2e3cbaabb04d12f3bb80d745fca3b2d101548b.tar.bz2 aports-bb2e3cbaabb04d12f3bb80d745fca3b2d101548b.tar.xz |
testing/upstart: add upgrade scripts
Diffstat (limited to 'testing')
-rw-r--r-- | testing/upstart/APKBUILD | 8 | ||||
-rw-r--r-- | testing/upstart/upstart.post-deinstall | 3 | ||||
-rw-r--r-- | testing/upstart/upstart.post-upgrade | 3 |
3 files changed, 11 insertions, 3 deletions
diff --git a/testing/upstart/APKBUILD b/testing/upstart/APKBUILD index 015ada3b7..4aea05012 100644 --- a/testing/upstart/APKBUILD +++ b/testing/upstart/APKBUILD @@ -1,8 +1,8 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> -# Maintainer: +# Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=upstart pkgver=0.6.7 -pkgrel=0 +pkgrel=1 pkgdesc="event-based init system" url="http://upstart.ubuntu.com" arch="all" @@ -10,7 +10,7 @@ license="GPL" depends= depends_dev="libnih-dev" makedepends="$depends_dev" -install="" +install="$pkgname.post-deinstall $pkgname.post-upgrade" subpackages="$pkgname-doc" source="http://upstart.ubuntu.com/download/${pkgver%.*}/upstart-${pkgver}.tar.gz" @@ -28,6 +28,8 @@ prepare() { build() { cd "$_builddir" ./configure --prefix=/usr \ + --bindir=/bin \ + --sbindir=/sbin \ --sysconfdir=/etc \ --localstatedir=/var || return 1 make || return 1 diff --git a/testing/upstart/upstart.post-deinstall b/testing/upstart/upstart.post-deinstall new file mode 100644 index 000000000..99b57c463 --- /dev/null +++ b/testing/upstart/upstart.post-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s diff --git a/testing/upstart/upstart.post-upgrade b/testing/upstart/upstart.post-upgrade new file mode 100644 index 000000000..99b57c463 --- /dev/null +++ b/testing/upstart/upstart.post-upgrade @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s |