diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-27 13:48:33 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-27 13:48:33 (EDT) |
commit | ac48e843249d8f3593476d703ac9d0eefecd5879 (patch) | |
tree | 12318a0cfb89c953751df2cdd28866c96ec86e61 /config | |
parent | a8573ca2c4293f0e72015764b99db3f857c6dbe9 (diff) |
config: Do substitutions in maintainer scripts.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -43,6 +43,12 @@ configure_build() mkdir -p "${_pkg}-${PKG_TARGET_ARCH}.pkg" sed "${_ss}" "${_pkg}.pkg.in/control" \ >"${_pkg}-${PKG_TARGET_ARCH}.pkg/control" + [ -e "${_pkg}.pkg.in/postinst" ] && \ + sed "${_ss}" "${_pkg}.pkg.in/postinst" \ + >"${_pkg}-${PKG_TARGET_ARCH}.pkg/postinst" + [ -e "${_pkg}.pkg.in/prerm" ] && \ + sed "${_ss}" "${_pkg}.pkg.in/prerm" \ + >"${_pkg}-${PKG_TARGET_ARCH}.pkg/prerm" msg 'Metadata for package "%s" generated.' \ "${_pkg}-${PKG_TARGET_ARCH}" done |