summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_install.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_install.subr')
-rw-r--r--subr/pkg_install.subr12
1 files changed, 7 insertions, 5 deletions
diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr
index 47aa121d..c706cfc4 100644
--- a/subr/pkg_install.subr
+++ b/subr/pkg_install.subr
@@ -18,12 +18,14 @@ 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}";
+ if [ "${PKG_NAME%_minipix}" = "${PKG_NAME}" ]; then
+ if [ ! -e "${PREFIX}/pkglist.${PKG_BUILD_TYPE}" ]; then
+ touch "${PREFIX}/pkglist.${PKG_BUILD_TYPE}";
+ fi;
+ _pkglist_name="${PKG_BASE_DIR##*/}";
+ _pkglist_name="${_pkglist_name%%-*}";
+ echo "${_pkglist_name}" >> "${PREFIX}/pkglist.${PKG_BUILD_TYPE}";
fi;
- _pkglist_name="${PKG_BASE_DIR##*/}";
- _pkglist_name="${_pkglist_name%%-*}";
- echo "${_pkglist_name}" >> "${PREFIX}/pkglist.${PKG_BUILD_TYPE}";
};
# vim:filetype=sh