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
|
||||
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
|
||||
|
@ -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%.*}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user