summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2012-06-26 18:28:39 +0000
committerRene Ladan <rene@FreeBSD.org>2012-06-26 18:28:39 +0000
commit43e055d93e46b8d346712ab704607debd9737f81 (patch)
tree7e89effc5b9fce50d5b122beabf1d482b6e9c2b7 /astro
parent- Add Munin Support [1] (diff)
- Correct pkg-deinstall by using the correct sh syntax. The old syntax
happened to work in some situations. - Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=300034
Diffstat (limited to 'astro')
-rw-r--r--astro/boinc-setiathome-enhanced/Makefile2
-rw-r--r--astro/boinc-setiathome-enhanced/files/pkg-deinstall.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/astro/boinc-setiathome-enhanced/Makefile b/astro/boinc-setiathome-enhanced/Makefile
index 3281ee1eef02..bda631f9b9af 100644
--- a/astro/boinc-setiathome-enhanced/Makefile
+++ b/astro/boinc-setiathome-enhanced/Makefile
@@ -6,7 +6,7 @@
PORTNAME= boinc-setiathome-enhanced
PORTVERSION= 6.12
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= astro
MASTER_SITES= ftp://rene-ladan.nl/pub/distfiles/
DISTNAME= setiathome-svn-1008
diff --git a/astro/boinc-setiathome-enhanced/files/pkg-deinstall.in b/astro/boinc-setiathome-enhanced/files/pkg-deinstall.in
index ac5c9d90b114..f655c6fe7722 100644
--- a/astro/boinc-setiathome-enhanced/files/pkg-deinstall.in
+++ b/astro/boinc-setiathome-enhanced/files/pkg-deinstall.in
@@ -14,8 +14,8 @@ if [ $? -ne 0 ]; then
echo $F is corrupt
exit 1
fi
-l1=$((l-1))
-l2=$((l+13))
+l1=$(($l-1))
+l2=$(($l+13))
sed -i.bak "${l1},${l2}d" $F # sed wants the braces
rm $F.bak