Blame vars/rpm_host.vars

Lucio Andrés Illanes Albornoz eeff3d
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz eeff3d
#
Lucio Andrés Illanes Albornoz eeff3d
Lucio Andrés Illanes Albornoz eeff3d
pkg_rpm_host_install_pre() {
Lucio Andrés Illanes Albornoz bf9edf
	if ! echo "#!/bin/true" > "${PKG_DESTDIR}/lib/rpm/elfdeps"\
Lucio Andrés Illanes Albornoz bf9edf
	|| ! rtl_fileop chmod +x "${PKG_DESTDIR}/lib/rpm/elfdeps"\
Lucio Andrés Illanes Albornoz bf9edf
	|| ! rtl_fileop rm "${PKG_DESTDIR}/var"; then
Lucio Andrés Illanes Albornoz bf9edf
		return 1;
Lucio Andrés Illanes Albornoz bf9edf
	fi;
Lucio Andrés Illanes Albornoz eeff3d
};
Lucio Andrés Illanes Albornoz eeff3d
Lucio Andrés Illanes Albornoz bf9edf
# vim:filetype=sh textwidth=0