summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Settle2016-01-21 11:13:45 -0500
committerJustin Settle2016-01-21 11:13:45 -0500
commite84b920693aed4dbed84824b2aa2734c1ec0c16d (patch)
treeae3d6193376620b3d75ca0a4fa63eeafa663db90
parent3d42b6ac3854fea820a00f2c61a24f17b05719a0 (diff)
downloadaur-e84b920693aed4dbed84824b2aa2734c1ec0c16d.tar.gz
Correct email script path in lowbatt / powerfail scripts.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ad9574677c9..c12f83ec09b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = powerpanel
pkgdesc = CyberPower UPS daemon
pkgver = 1.3.2
- pkgrel = 1
+ pkgrel = 2
url = http://www.cyberpowersystems.com
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 64fdb1389bd..07adf5cbc29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Kyle Keen <keenerd [at] gmail.com>, das-ich <das-ich [at] yandex.ru>
pkgname=powerpanel
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="CyberPower UPS daemon"
arch=("x86_64" "i686")
url="http://www.cyberpowersystems.com"
@@ -41,9 +41,11 @@ sed -e 's#/etc#/etc/powerpanel#' -i ${pkgdir}/etc/pwrstatd.conf
# Script command for event of power failure
install -Dm755 script/pwrstatd-powerfail.sh ${pkgdir}/etc/powerpanel/pwrstatd-powerfail.sh
+sed -e 's#/etc#/etc/powerpanel#' -i ${pkgdir}/etc/powerpanel/pwrstatd-powerfail.sh
# Script command for event of battery low
install -Dm755 script/pwrstatd-lowbatt.sh ${pkgdir}/etc/powerpanel/pwrstatd-lowbatt.sh
+sed -e 's#/etc#/etc/powerpanel#' -i ${pkgdir}/etc/powerpanel/pwrstatd-lowbatt.sh
# Script command for e-mail notification
install -Dm755 script/pwrstatd-email.sh ${pkgdir}/etc/powerpanel/pwrstatd-email.sh