summaryrefslogtreecommitdiff
path: root/custom/scripts/rpm.post
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2010-05-06 23:56:28 -0400
committerAnas Nashif <anas.nashif@intel.com>2010-05-06 23:56:28 -0400
commitb3f23061abe8b08e51522ec8e2b5cad0b8571f02 (patch)
treec46ad210415fff79b4bad9b5b6f7498ddce93675 /custom/scripts/rpm.post
downloadkickstarter-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.post9
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