From bb2e3cbaabb04d12f3bb80d745fca3b2d101548b Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 7 Mar 2011 01:50:52 -0600 Subject: testing/upstart: add upgrade scripts --- testing/upstart/APKBUILD | 8 +++++--- testing/upstart/upstart.post-deinstall | 3 +++ testing/upstart/upstart.post-upgrade | 3 +++ 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 testing/upstart/upstart.post-deinstall create mode 100644 testing/upstart/upstart.post-upgrade (limited to 'testing') diff --git a/testing/upstart/APKBUILD b/testing/upstart/APKBUILD index 015ada3b74..4aea050120 100644 --- a/testing/upstart/APKBUILD +++ b/testing/upstart/APKBUILD @@ -1,8 +1,8 @@ # Contributor: William Pitcock -# Maintainer: +# Maintainer: William Pitcock 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 0000000000..99b57c4635 --- /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 0000000000..99b57c4635 --- /dev/null +++ b/testing/upstart/upstart.post-upgrade @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s -- cgit v1.2.3