diff options
Diffstat (limited to 'gcc34/post-remove')
-rwxr-xr-x | gcc34/post-remove | 6 |
1 files changed, 3 insertions, 3 deletions
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%.*}" |