diff options
Diffstat (limited to 'subr/pkg_install.subr')
-rw-r--r-- | subr/pkg_install.subr | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr index dd007abe..56e306c1 100644 --- a/subr/pkg_install.subr +++ b/subr/pkg_install.subr @@ -17,6 +17,10 @@ pkg_install() { tar -C "${PKG_DESTDIR}" -cpf - . |\ gzip -c -9 - > "${PKG_BASE_DIR}/${PKG_NAME}.tgz" fi; + if [ ! -e "${PREFIX}/pkglist.${PKG_BUILD_TYPE}" ]; then + touch "${PREFIX}/pkglist.${PKG_BUILD_TYPE}"; + fi; + echo "${PKG_NAME}" >> "${PREFIX}/pkglist.${PKG_BUILD_TYPE}"; }; # vim:filetype=sh |