diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-07-18 15:19:15 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-07-18 15:19:15 -0500 |
commit | 6d5806f93b77647d78dd582326d57c87b58e2ce6 (patch) | |
tree | 413324cf18d488d162d4e05b66c6cfa18482814d /pcr/openrc | |
parent | 404fa5b9e0e86bdec3d227ec3a30d7956c6773bb (diff) |
openrc-0.21.2-1: updating version
Diffstat (limited to 'pcr/openrc')
-rw-r--r-- | pcr/openrc/PKGBUILD | 17 | ||||
-rw-r--r-- | pcr/openrc/openrc-install.hook | 1 |
2 files changed, 12 insertions, 6 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD index cc27453b5..ca163ff00 100644 --- a/pcr/openrc/PKGBUILD +++ b/pcr/openrc/PKGBUILD @@ -5,7 +5,7 @@ _url="https://github.com/OpenRC/openrc/archive" pkgname=openrc -pkgver=0.21 +pkgver=0.21.2 pkgrel=1 pkgdesc="Gentoo's universal init system" arch=('i686' 'x86_64' 'armv7h') @@ -29,12 +29,12 @@ backup=('etc/rc.conf' source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgver}.tar.gz" "${pkgname}.logrotate" 'use-optional-modules-load-d.patch' - 'openrc-install.hook' - 'openrc-remove.hook') -sha256sums=('65e83e8b5c2f4316a827e49f4c3da7d98cf02f62b37d6a15d636bb8b9cf5a6e4' + 'openrc-install.hook' + 'openrc-remove.hook') +sha256sums=('b47e9cbf1a8dec22d4811d8da9ff6a1b3899f9add1d58e6021f21d5b14514404' '0b44210db9770588bd491cd6c0ac9412d99124c6be4c9d3f7d31ec8746072f5c' 'b8b750c863199e9c039e874c3c79c72d468f35442750156dfbdf503a27977cf3' - '50bb30157a1669a32cb42b11737ad14a199844cb4469f80bdff6a2d5cde4c544' + '1d4d31a7275660e7b23778e6fceb0714cab8ed2793b04aa004b01d8e7bcd43bd' 'cbb4d00262a55a508114cb31e3903350be2cff748a4fb5e120dc745292e3987e') _args=(SYSCONFDIR=/etc) @@ -45,7 +45,12 @@ _args+=(MKSELINUX=no) _args+=(MKPAM=pam) _args+=(MKTERMCAP=ncurses) _args+=(MKNET=no) -_args+=(BRANDING='Parabola') +if [ -f /etc/os-release ]; then + . /etc/os-release + _args+=(BRANDING="${NAME}") +else + _args+=(BRANDING='Unknown Linux') +fi prepare(){ cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/pcr/openrc/openrc-install.hook b/pcr/openrc/openrc-install.hook index ff487db7d..a85808fac 100644 --- a/pcr/openrc/openrc-install.hook +++ b/pcr/openrc/openrc-install.hook @@ -1,6 +1,7 @@ [Trigger] Type = File Operation = Install +Operation = Upgrade Target = etc/init.d/* [Action] |