summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd E Johnson2019-07-13 21:19:38 -0500
committerTodd E Johnson2019-07-13 21:23:43 -0500
commit0fbf4b8662c921edec76d780568c32cf9c090f77 (patch)
treefbbefd02fcb187d4af9cdf889b3924a07f90f791
parentd58cac7b0980dc95ec0dbecd4cacf2b03e90ee99 (diff)
downloadaur-0fbf4b8662c921edec76d780568c32cf9c090f77.tar.gz
Rewrite path in scripts with SED
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD1
2 files changed, 2 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cdd897d3574..0935c5c1b9f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = restic-systemd-automatic-backup
pkgdesc = Backup solution using restic/Backblaze B2 storage.
- pkgver = r40.a489e44
+ pkgver = r43.bfad34f
pkgrel = 1
url = https://github.com/erikw/restic-systemd-automatic-backup
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 4649b122ee7..533ec734f1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,5 +21,6 @@ pkgver() {
package() {
cd "$pkgname"
make PREFIX="$pkgdir" DEST_SCRIPTS="$pkgdir/usr/bin" DEST_SYSTEMD="$pkgdir/usr/lib/systemd/system" install
+ sed -e 's|/usr/local/sbin|/usr/bin|g' -i $pkgdir/usr/lib/systemd/system/*
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}