diff options
author | Anas Nashif <anas.nashif@intel.com> | 2010-05-06 23:56:28 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2010-05-06 23:56:28 -0400 |
commit | b3f23061abe8b08e51522ec8e2b5cad0b8571f02 (patch) | |
tree | c46ad210415fff79b4bad9b5b6f7498ddce93675 /custom/scripts/rpm.post | |
download | kickstarter-b3f23061abe8b08e51522ec8e2b5cad0b8571f02.tar.gz kickstarter-b3f23061abe8b08e51522ec8e2b5cad0b8571f02.tar.bz2 kickstarter-b3f23061abe8b08e51522ec8e2b5cad0b8571f02.zip |
Initial import
Diffstat (limited to 'custom/scripts/rpm.post')
-rw-r--r-- | custom/scripts/rpm.post | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/custom/scripts/rpm.post b/custom/scripts/rpm.post new file mode 100644 index 0000000..1e4049e --- /dev/null +++ b/custom/scripts/rpm.post @@ -0,0 +1,9 @@ +# work around for poor key import UI in PackageKit +rm -f /var/lib/rpm/__db* +rpm --rebuilddb +if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux ]; then + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux +fi +if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-meego ]; then + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-meego +fi |