summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDoug Newgard2014-05-21 02:57:42 -0500
committerDoug Newgard2014-05-21 02:57:42 -0500
commitd7b1bd978bfd45de12a7130270619017a6ab4d13 (patch)
treeb19f939dec23ee81dc7e0ca0a347edf965d7edbd /PKGBUILD
parent1e1884b1cbfb4b112677c977440e28c6b6fd9a5d (diff)
downloadaur-d7b1bd978bfd45de12a7130270619017a6ab4d13.tar.gz
Simpler, more robust adjustment of conf file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6c75d9bca1d..d16da595f40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=entrance
pkgname=$_pkgname-git
-pkgver=0.0.99.r193.55b34fa
+pkgver=0.0.99.r230.f54f218
pkgrel=1
pkgdesc="Enlightenment Display Manager"
url="http://www.enlightenment.org/"
@@ -29,10 +29,10 @@ pkgver() {
}
prepare() {
- sed -e '/"session_path"/ s|/bin:/usr/bin:/usr/local/bin|/usr/local/sbin:/usr/local/bin:/usr/bin|' \
- -e '/"shutdown"/ s|/sbin/shutdown -h now|/usr/bin/systemctl poweroff|' \
- -e '/"reboot"/ s|/sbin/shutdown -r now|/usr/bin/systemctl reboot|' \
- -e '/"suspend"/ s|/usr/sbin/pm-suspend|/usr/bin/systemctl suspend|' \
+ sed -e '/"session_path"/ s|:.*|: "/usr/local/sbin:/usr/local/bin:/usr/bin";|' \
+ -e '/"shutdown"/ s|:.*|: "/usr/bin/systemctl poweroff";|' \
+ -e '/"reboot"/ s|:.*|: "/usr/bin/systemctl reboot";|' \
+ -e '/"suspend"/ s|:.*|: "/usr/bin/systemctl suspend";|' \
-i "$srcdir/$_pkgname/data/entrance.conf.in"
}