diff options
author | rh <rh> | 1999-04-16 10:50:12 +0000 |
---|---|---|
committer | rh <rh> | 1999-04-16 10:50:12 +0000 |
commit | 9021c14c17c3b9ab98a727d5644f05f60b888227 (patch) | |
tree | 9de1e4593d9e9ab3d87301cb952700a6c01ab27a /pkgtools/pkg_install | |
parent | 814b305bf1b248f45729e4067dd83593bf7a113f (diff) | |
download | pkgsrc-9021c14c17c3b9ab98a727d5644f05f60b888227.tar.gz |
Fix shell error causing "Syntax error: end of file unexpected"
if ${PKG_DBDIR} is missing
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r-- | pkgtools/pkg_install/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index 2041492ef7b..4077c95059c 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 1999/03/30 12:52:36 hubertf Exp $ +# $NetBSD: Makefile,v 1.16 1999/04/16 10:50:12 rh Exp $ # # Note to package maintainers: @@ -31,7 +31,7 @@ MANCOMPRESSED= yes .endif post-install: - if [ ! -f $${PKG_DBDIR:-/var/db/pkg}/pkgdb.byfile.db ]; then + if [ ! -f $${PKG_DBDIR:-/var/db/pkg}/pkgdb.byfile.db ]; then \ if [ ! -d $${PKG_DBDIR:-/var/db/pkg} ]; then \ ${MKDIR} $${PKG_DBDIR:-/var/db/pkg}; \ fi; \ |