summaryrefslogtreecommitdiffhomepage
path: root/vars/rpm_host.vars
blob: ca2e20bda6214408f557e18ebbe0c510e241a253 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# set +o errexit -o noglob is assumed.
#

pkg_rpm_host_install_pre() {
	if ! echo "#!/bin/true" > "${PKG_DESTDIR}/lib/rpm/elfdeps"\
	|| ! rtl_fileop chmod +x "${PKG_DESTDIR}/lib/rpm/elfdeps"\
	|| ! rtl_fileop rm "${PKG_DESTDIR}/var"; then
		return 1;
	fi;
};

# vim:filetype=sh textwidth=0