From 7be374c28308222f4558a76984996f785eefbb51 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 18 May 2013 14:18:57 -0400 Subject: config: Substitute vars in postinst and prerm. --- (limited to 'config') diff --git a/config b/config index fedf288..cf77a24 100755 --- a/config +++ b/config @@ -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 -- cgit v0.9.1