Re: Get ${OSREL} at install time
- Reply: Felix Palmen : "Re: Get ${OSREL} at install time"
- In reply to: Felix Palmen : "Re: Get ${OSREL} at install time"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 12:26:32 UTC
ok, pkg-script manual have also something interesting for finding prefix: PKG_PREFIX PREFIX defined within the package at build time. So I can use ${PKG_PREFIX}/etc/gitup.conf About ${PKG_ROOTDIR}/bin/freebsd-version it doesn't seem to be called in pkg-post-install: osrel=${PKG_ROOTDIR}/bin/freebsd-version Am I missing something?