summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/openhpi/PKGBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD
index 14c19d12b..b0e92f7f9 100644
--- a/pcr/openhpi/PKGBUILD
+++ b/pcr/openhpi/PKGBUILD
@@ -64,8 +64,7 @@ package() {
cd $srcdir/$pkgname-$pkgver
setarch $CARCH make DESTDIR=$pkgdir install
- rm $pkgdir/etc/init.d/openhpid
- rmdir $pkgdir/etc/init.d
+ rm $pkgdir/etc/init.d/openhpid && rmdir $pkgdir/etc/init.d
install -d $pkgdir/usr/lib/systemd/system
echo '[Unit]' > $pkgdir/usr/lib/systemd/system/openhpi.service