summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTony Lambiris2019-04-16 15:29:22 -0400
committerTony Lambiris2019-04-16 15:29:22 -0400
commit5a4bcf0cab4ac87b723a2383692fab0c3a6396cb (patch)
treea136e3902e61af2e02683b86f9eed0b2fc250606 /PKGBUILD
parent8d228866fa9d0b90f9326ed91aec8cb865b43b81 (diff)
downloadaur-5a4bcf0cab4ac87b723a2383692fab0c3a6396cb.tar.gz
Fix paths to daemons
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 85905bf9cbd6..555d87da909b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=system76-driver-git
pkgver=19.04.7.r3.gd5d0ae7
-pkgrel=2
+pkgrel=3
pkgdesc="System76 Driver for System76 computers"
arch=('any')
url="https://github.com/pop-os/system76-driver"
@@ -64,6 +64,9 @@ prepare() {
# Use xhost for GUI apps on Wayland
patch --no-backup-if-mismatch -Np1 -i ${srcdir}/wayland.patch
+
+ # Fix-up locations of daemon paths in service files
+ find . -type f -name '*.service' -exec sed -i -re "/^ExecStart/s/system76-driver/system76-driver-git/g" "{}" \;
}
package() {