summaryrefslogtreecommitdiff
path: root/pcr/openrc/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-07-30 13:03:17 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-07-30 16:12:06 -0400
commit610b31e5252b04610eeb584cb637eeab6d08d220 (patch)
tree0d8e49f00a47a29a5e46353aa02e5c0f9cec590a /pcr/openrc/PKGBUILD
parent13bbd6a794d06533fb3004a01a66a4264da81664 (diff)
downloadabslibre-610b31e5252b04610eeb584cb637eeab6d08d220.tar.gz
abslibre-610b31e5252b04610eeb584cb637eeab6d08d220.tar.bz2
abslibre-610b31e5252b04610eeb584cb637eeab6d08d220.zip
prc/openrc: Don't muck with parsing os-release, just say Parabola
Diffstat (limited to 'pcr/openrc/PKGBUILD')
-rw-r--r--pcr/openrc/PKGBUILD8
1 files changed, 1 insertions, 7 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD
index f6f530e73..b54ee0912 100644
--- a/pcr/openrc/PKGBUILD
+++ b/pcr/openrc/PKGBUILD
@@ -24,6 +24,7 @@ sha512sums=('655a0a32650ed46998ae84473e8a82aadd9de09904c5173cd9b9e2500fc8935e965
'690612fddfb2c4cf8f6b5ba7239b9faf29eb3d9b152ab4dcf62694aa2852780440d08cee56d98a9597607f446b3697c911269562821a8402bb5747cbbae34bd9')
_args=(
+ BRANDING='Parabola GNU/Linux-libre'
SYSCONFDIR=/etc
PREFIX=/usr
SBINDIR=/usr/bin
@@ -35,13 +36,6 @@ _args=(
MKSYSVINIT=yes
)
-if [ -f /usr/lib/os-release ]; then
- . /usr/lib/os-release
- _args+=(BRANDING="${NAME}")
-else
- _args+=(BRANDING='Unknown GNU/Linux')
-fi
-
prepare(){
cd "${srcdir}/${pkgbase}-${pkgver}"
sed -e "s|/sbin|/usr/bin|g" -i support/sysvinit/inittab