summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2011-10-04 21:58:00 +0000
committerJeff Bilyk <jbilyk@gmail.com>2011-10-04 21:58:00 +0000
commita05e1c8d259597a9596ff2cb66a5e56a37385856 (patch)
treefc9a6d0ed7041ed8f05c1c4fd19fcd445386771f /main
parent63135fa1331daf42ac4cbdf6e1595b8e4445aaf6 (diff)
downloadaports-a05e1c8d259597a9596ff2cb66a5e56a37385856.tar.bz2
aports-a05e1c8d259597a9596ff2cb66a5e56a37385856.tar.xz
main/smokeping: fix another config file typo
Diffstat (limited to 'main')
-rw-r--r--main/smokeping/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/smokeping/APKBUILD b/main/smokeping/APKBUILD
index 059b9e06b..7614736e2 100644
--- a/main/smokeping/APKBUILD
+++ b/main/smokeping/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=smokeping
pkgver=2.6.1
-pkgrel=3
+pkgrel=4
pkgdesc="Smokeping network latency monitoring"
pkgusers="smokeping"
pkggroups="smokeping"
@@ -86,9 +86,12 @@ package() {
for i in smokeping smokeinfo; do
sed -e 's:^use lib:#use lib:g' \
- -e 's:etc/config:/etc/smokeping/config:' \
+ -e 's:etc/config:etc/smokeping/config:' \
-i "$pkgdir"/usr/bin/$i
done
+
+ 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