diff options
-rw-r--r-- | main/alpine-baselayout/APKBUILD | 3 | ||||
-rw-r--r-- | main/alpine-baselayout/alpine-baselayout.post-upgrade | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD index 66edd075d..e400fd9c1 100644 --- a/main/alpine-baselayout/APKBUILD +++ b/main/alpine-baselayout/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=alpine-baselayout pkgver=2.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Alpine base dir structure and init scripts" url=http://git.alpinelinux.org/cgit/alpine-baselayout depends= @@ -27,7 +27,6 @@ build() { package() { cd "$_builddir" make install PREFIX= DESTDIR="$pkgdir" || return 1 - mkdir "$pkgdir"/run rm -rf "$pkgdir"/etc/issue "$pkgdir"/usr/share/udhcpc \ "$pkgdir"/etc/init.d/vlan } diff --git a/main/alpine-baselayout/alpine-baselayout.post-upgrade b/main/alpine-baselayout/alpine-baselayout.post-upgrade index 0010c9bbc..6a4918e91 100644 --- a/main/alpine-baselayout/alpine-baselayout.post-upgrade +++ b/main/alpine-baselayout/alpine-baselayout.post-upgrade @@ -21,8 +21,8 @@ __EOF__ } # create compat start/stop scripts for vserver guests -if [ "$(/sbin/rc --sys)" != "VSERVER" ]; then - # create rcL and rcK| +if [ "$(/sbin/rc --sys)" = "VSERVER" ]; then + # create rcL and rcK if ! [ -e /etc/init.d/rcL ]; then create_vserver_startstop > /etc/init.d/rcL fi |