aboutsummaryrefslogtreecommitdiffstats
path: root/main/smokeping
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-08 16:22:58 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-10 09:02:51 +0000
commitab744645dd6495c41364ede3712737ddc11a01cd (patch)
tree8c4a69cfb41f59e28533fc6c2371e1f3d14304ae /main/smokeping
parente9e50ef290b538f12c9147f65d147dba3bbd6b9c (diff)
downloadaports-ab744645dd6495c41364ede3712737ddc11a01cd.tar.bz2
aports-ab744645dd6495c41364ede3712737ddc11a01cd.tar.xz
main/[various]: fix trailing whitespace
Diffstat (limited to 'main/smokeping')
-rw-r--r--main/smokeping/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/smokeping/APKBUILD b/main/smokeping/APKBUILD
index 5f63c7afd4..0c14e3a559 100644
--- a/main/smokeping/APKBUILD
+++ b/main/smokeping/APKBUILD
@@ -77,7 +77,7 @@ package() {
# Fix path to config file
sed -i -e 's#/usr/etc/config#/etc/smokeping/config#' "$pkgdir"/usr/share/webapps/smokeping/smokeping.fcgi.dist
-
+
# Install cgi in the right spot and fix permissions
mv "$pkgdir"/usr/share/webapps/smokeping/smokeping.fcgi.dist "$pkgdir"/usr/share/webapps/smokeping/smokeping.cgi
chmod 755 "$pkgdir"/usr/share/webapps/smokeping/smokeping.cgi
@@ -96,10 +96,10 @@ package() {
sed -e 's#Smokeping::main("$FindBin::Bin/../etc/config")#Smokeping::main("/etc/smokeping/config")#' \
-i "$pkgdir"/usr/bin/smokeping
-
+
sed -e 's:etc/config.dist:etc/smokeping/config:' \
-i "$pkgdir"/usr/bin/tSmoke
-
+
# config
sed -e '/^imgcache/{s:\(^imgcache[ \t]*=\).*:\1 /var/lib/smokeping/.simg:}' \
-e '/^imgurl/{s:\(^imgurl[ \t]*=\).*:\1 img:}' \
@@ -121,7 +121,7 @@ package() {
|| return 1
chmod 700 "$pkgdir"/etc/smokeping/smokeping_secrets
-
+
# initscript
install -Dm755 "$srcdir"/smokeping.initd "$pkgdir"/etc/init.d/smokeping\
|| return 1