diff options
author | rene <rene@FreeBSD.org> | 2012-08-10 17:03:12 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2012-08-10 17:03:12 +0800 |
commit | c6d95e6c2976896e19c3fd3b27faaf905920f0df (patch) | |
tree | d7aabf7d0bc0e01f80c3925415c9a0f9114f97ab /astro/boinc-astropulse | |
parent | 5bbadfb7f7bed99cbb8be18e2d095f6f89a36481 (diff) | |
download | freebsd-ports-gnome-c6d95e6c2976896e19c3fd3b27faaf905920f0df.tar.gz freebsd-ports-gnome-c6d95e6c2976896e19c3fd3b27faaf905920f0df.tar.zst freebsd-ports-gnome-c6d95e6c2976896e19c3fd3b27faaf905920f0df.zip |
- Make sure the package is properly deinstalled by using the proper sh syntax.
- Bump PORTREVISION
Diffstat (limited to 'astro/boinc-astropulse')
-rw-r--r-- | astro/boinc-astropulse/Makefile | 2 | ||||
-rw-r--r-- | astro/boinc-astropulse/files/pkg-deinstall.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/astro/boinc-astropulse/Makefile b/astro/boinc-astropulse/Makefile index 4f580c9da685..6c0b3a197df0 100644 --- a/astro/boinc-astropulse/Makefile +++ b/astro/boinc-astropulse/Makefile @@ -6,7 +6,7 @@ PORTNAME= boinc-astropulse PORTVERSION= 6.01 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= astro MASTER_SITES= ftp://rene-ladan.nl/pub/distfiles/ DISTNAME= astropulse-svn-1280 diff --git a/astro/boinc-astropulse/files/pkg-deinstall.in b/astro/boinc-astropulse/files/pkg-deinstall.in index b6ee2e66ab23..f72ebd09a28f 100644 --- a/astro/boinc-astropulse/files/pkg-deinstall.in +++ b/astro/boinc-astropulse/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 |