diff options
-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 |