aboutsummaryrefslogtreecommitdiffstats
path: root/core/openrc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-05 09:48:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-05 09:48:41 +0000
commitab05e4a8cd09cac121bf397d2e894dae123e9236 (patch)
treedceb9cdbccb9818c9e37dadc257ed666312f1296 /core/openrc/APKBUILD
parentda3316a3321595daefbbd9d399a509ff349af1f8 (diff)
downloadaports-ab05e4a8cd09cac121bf397d2e894dae123e9236.tar.bz2
aports-ab05e4a8cd09cac121bf397d2e894dae123e9236.tar.xz
core/openrc: add post-upgrade script that moves the state dir to new location
state dir has moved to /libexec/rc/init.d. By move the state in post-upgrade we dont need to reboot.
Diffstat (limited to 'core/openrc/APKBUILD')
-rw-r--r--core/openrc/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/openrc/APKBUILD b/core/openrc/APKBUILD
index ae21569ab5..f7a56e285d 100644
--- a/core/openrc/APKBUILD
+++ b/core/openrc/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openrc
pkgver=0.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="http://roy.marples.name/openrc"
license='BSD-2'
depends=""
subpackages="$pkgname-doc $pkgname-dev"
-install="$pkgname.post-install"
+install="$pkgname.post-install $pkgname.post-upgrade"
source="http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2
openrc-0.4.3-mkmntdirs.patch
hostname.initd
@@ -46,4 +46,5 @@ c32e15b0858eef708497e7ee6355a055 hostname.initd
33ca3e558c42cdd17adccbc7807298f7 keymaps.initd
5608e6e3d836ad01b9714e5b41d223cb modules.initd
747168eee535e845179eaef5a3fcb334 networking.initd
-6e834194b246563fc5acd77e91e038c4 openrc.post-install"
+6e834194b246563fc5acd77e91e038c4 openrc.post-install
+393ff61bc0bf2c07f9af81795554c584 openrc.post-upgrade"