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

pkg_rpm_host_install_pre() {
	if ! printf "%s" "#!/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