summaryrefslogtreecommitdiff
path: root/gcc34
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2008-05-09 11:54:36 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2008-05-09 11:55:01 +1000
commit6c782d204285d1e599a0ccf625470ace406f3276 (patch)
tree4e8ab7c1df269af511ecdf2fd015b0fdd385682f /gcc34
parent3f4363aac6166eded31521192ac417183794293f (diff)
downloadcontrib-6c782d204285d1e599a0ccf625470ace406f3276.tar.gz
contrib-6c782d204285d1e599a0ccf625470ace406f3276.tar.xz
gcc34: post-install and post-remove fix path for checking for Pkgfile
Diffstat (limited to 'gcc34')
-rwxr-xr-xgcc34/post-install4
-rwxr-xr-xgcc34/post-remove6
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc34/post-install b/gcc34/post-install
index 3446f0a54..2f6d3e9f9 100755
--- a/gcc34/post-install
+++ b/gcc34/post-install
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
-if [ -e Pkgfile ]; then
- . Pkgfile
+if [ -e '/usr/ports/contrib/gcc34/Pkgfile' ]; then
+ . /usr/ports/contrib/gcc34/Pkgfile
else
echo 'post-install: error Pkgfile is missing.'
exit 1
diff --git a/gcc34/post-remove b/gcc34/post-remove
index 9f658b31f..7f87ce302 100755
--- a/gcc34/post-remove
+++ b/gcc34/post-remove
@@ -1,8 +1,8 @@
#!/usr/bin/env sh
-if [ -e Pkgfile ]; then
- . Pkgfile
+if [ -e '/usr/ports/contrib/gcc34/Pkgfile' ]; then
+ . /usr/ports/contrib/gcc34/Pkgfile
else
- echo 'post-remove: error Pkgfile is missing.'
+ echo 'post-install: error Pkgfile is missing.'
exit 1
fi
SUFFIX="-${version%.*}"

Generated by cgit