-EBUILD eix-9999.ebuild 1462 RMD160 7d608a4828f8a20bf32a05e1353d4634b68fc3ae SHA1 fe000093b6add6168299afaff497a69f90e1416a SHA256 f1c6375801f09fb30f1f1bb7668dee630ccf94ed36b23206426d1e5aecd618d4
+EBUILD eix-9999.ebuild 1730 RMD160 e56a09efcdcd15ce42dc1590ce2f099c0f0bcc62 SHA1 827970d8efbd56c4503cb09a7c99423573203a02 SHA256 1f3571f7759d7b6954e9524cfdeab10091d08bd7a0cad75a476f75c9389ff065
keepdir /var/cache/eix
fowners portage:portage /var/cache/eix
}
+
+pkg_preinst() {
+ for file in "${EROOT}"/var/cache/eix{,.previous}
+ do
+ [ ! -f "${file}" ] && continue
+ rm "${file}" || die "Removing ${file} failed."
+ done
+}
+
+pkg_postinst() {
+ # src_install zmienia portage na root
+ chown portage:portage "${EROOT}/var/cache/eix"
+}