forked from ports/contrib
gcc34: post-install and post-remove fix path for checking for Pkgfile
This commit is contained in:
parent
3f4363aac6
commit
6c782d2042
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
if [ -e Pkgfile ]; then
|
if [ -e '/usr/ports/contrib/gcc34/Pkgfile' ]; then
|
||||||
. Pkgfile
|
. /usr/ports/contrib/gcc34/Pkgfile
|
||||||
else
|
else
|
||||||
echo 'post-install: error Pkgfile is missing.'
|
echo 'post-install: error Pkgfile is missing.'
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
if [ -e Pkgfile ]; then
|
if [ -e '/usr/ports/contrib/gcc34/Pkgfile' ]; then
|
||||||
. Pkgfile
|
. /usr/ports/contrib/gcc34/Pkgfile
|
||||||
else
|
else
|
||||||
echo 'post-remove: error Pkgfile is missing.'
|
echo 'post-install: error Pkgfile is missing.'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
SUFFIX="-${version%.*}"
|
SUFFIX="-${version%.*}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user