app-crypt/gkeys: Add fetch-seed and install-key to pkg_postinst
authorKristian Fiskerstrand <kf@sumptuouscapital.com>
Wed, 7 Jan 2015 22:42:09 +0000 (23:42 +0100)
committerKristian Fiskerstrand <kf@sumptuouscapital.com>
Wed, 7 Jan 2015 22:42:09 +0000 (23:42 +0100)
Ensure that developer keys are installed during build

app-crypt/gkeys/Manifest
app-crypt/gkeys/gkeys-0.1.ebuild

index de02878..2344c49 100644 (file)
@@ -1,2 +1,2 @@
 DIST gkeys-0.1.tar.bz2 40454 SHA256 fdb1c173ca21a80b2bb9b9b1b5f9952babc62d76a8ca65e7f40fae2d009cb205 SHA512 66e32c206de1cb9c183322a15e62cb96127d6e708a0c629f24a14a40dad6408aa36fc6d72fa2127df3bf71546c70646e7b20b7a6f9bc8dcbedab4884d7730fcf WHIRLPOOL dc5980fa96e988c8bc141890af8b65a5bb015dbc07531d109cfbd604e1576251661f6b2c66e86a1b4081908e3e0ca7f40ced6f65156f66d322a5fa914ec952ee
-EBUILD gkeys-0.1.ebuild 1484 SHA256 6ba79faf48facbed0a6d5f880703aa68ede65befd98436e829c5971f1edf7b9e SHA512 bc064df4512834582b6ecc6bb03d9eb28eb3abfd3ed3686119ab6ddc6741608f5daf5e8f05a97b7c46dd2f560a4c86841af1554b2e87cb706f07a8ab3e061432 WHIRLPOOL cedded3ae33bb1de9f56d024019584ffd3e6bf7612aa00b78f175801438202fa3e4135f7e05d6438e1d0e658af88299cace2ead7c8cb429b5053b1b11236e76a
+EBUILD gkeys-0.1.ebuild 1625 SHA256 a343fe7daa3cc2a299fcca4ae760a66ddad0e439570c3be886e577a0e1542222 SHA512 ff20448441067a7185e774b9488055374b79fc36ad822973777ad121d19ea4c84b82b517e5a5a56f3ed46e203327ba95eac37b54bee07afa06033bbeb615c7f8 WHIRLPOOL 653a5c8d1f4f76dafff94b71f7236b1f8523f49d8e2d39370a775bfe6c7464fd56fd22fbd8157e943011f0c6ea840294420fdffcc22bb4034284f9989159c348
index 3968ae8..83d29e7 100644 (file)
@@ -43,6 +43,9 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
+       gkeys fetch-seed -C gentoo-devs || die "Unable to fetch seeds"
+       gkeys install-key -C gentoo-devs || die "Unable to install developer keys"
+
        einfo
        einfo "This is experimental software."
        einfo "The API's it installs should be considered unstable"