]> git.bzium.org/ - embe/overlay.git/commitdiff
Aktualizacja app-portage/eix-9999
authorMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
Tue, 13 Mar 2012 19:42:35 +0000 (20:42 +0100)
committerMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
Tue, 13 Mar 2012 19:42:35 +0000 (20:42 +0100)
app-portage/eix/Manifest
app-portage/eix/eix-9999.ebuild

index a0b94530c0642f9faa1a9227034dac85590d7c6e..d34258725d2f8e408e2d34dc3e04d30abc597547 100644 (file)
@@ -1 +1 @@
-EBUILD eix-9999.ebuild 1462 RMD160 7d608a4828f8a20bf32a05e1353d4634b68fc3ae SHA1 fe000093b6add6168299afaff497a69f90e1416a SHA256 f1c6375801f09fb30f1f1bb7668dee630ccf94ed36b23206426d1e5aecd618d4
+EBUILD eix-9999.ebuild 1730 RMD160 e56a09efcdcd15ce42dc1590ce2f099c0f0bcc62 SHA1 827970d8efbd56c4503cb09a7c99423573203a02 SHA256 1f3571f7759d7b6954e9524cfdeab10091d08bd7a0cad75a476f75c9389ff065
index 64df38b6edc752384043d5939b42ac9f134489ce..22545fd00db0887a4a9c873abb7d782f783b0fe2 100644 (file)
@@ -46,3 +46,16 @@ src_install() {
        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"
+}