diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-18 14:18:57 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-18 14:18:57 (EDT) |
commit | 7be374c28308222f4558a76984996f785eefbb51 (patch) | |
tree | 4adf72be9c6d2d41888a76c686227ee124a1e6ae | |
parent | 69e1ed308b3707ecae387ab3cc8c4df1e968b76f (diff) |
config: Substitute vars in postinst and prerm.
-rwxr-xr-x | config | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -44,6 +44,10 @@ configure_build() >"${_pkg}-${PKG_TARGET_ARCH}.pkg/control" sed "${_ss}" "${_pkg}.pkg.in/files" \ >"${_pkg}-${PKG_TARGET_ARCH}.pkg/files" + sed "${_ss}" "${_pkg}.pkg.in/postinst" \ + >"${_pkg}-${PKG_TARGET_ARCH}.pkg/postinst" + sed "${_ss}" "${_pkg}.pkg.in/prerm" \ + >"${_pkg}-${PKG_TARGET_ARCH}.pkg/prerm" msg 'Metadata for package "%s" generated.' \ "${_pkg}-${PKG_TARGET_ARCH}" done |