Lucio Andrés Illanes Albornoz 3e5303
#
Lucio Andrés Illanes Albornoz 3e5303
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz 3e5303
#
Lucio Andrés Illanes Albornoz 3e5303
Lucio Andrés Illanes Albornoz 3e5303
pkg_install_clean() {
e9fa07
	local _pic_group_name="${1}" _pic_pkg_name="${2}" _pic_restart_at="${3}";
e9fa07
e9fa07
	if [ "${PKG_DESTDIR:+1}" = 1 ]; then
Lucio Andrés Illanes Albornoz 3e5303
		rtl_fileop rm "${PKG_DESTDIR}" || return 1;
Lucio Andrés Illanes Albornoz 3e5303
		rtl_fileop mkdir "${PKG_DESTDIR}" || return 1;
e9fa07
	fi;
e9fa07
	return 0;
Lucio Andrés Illanes Albornoz 3e5303
};
Lucio Andrés Illanes Albornoz 3e5303
64844b
# vim:filetype=sh textwidth=0