summaryrefslogtreecommitdiff
path: root/demo/custom/scripts/rpm.post
diff options
context:
space:
mode:
Diffstat (limited to 'demo/custom/scripts/rpm.post')
-rw-r--r--demo/custom/scripts/rpm.post7
1 files changed, 7 insertions, 0 deletions
diff --git a/demo/custom/scripts/rpm.post b/demo/custom/scripts/rpm.post
new file mode 100644
index 0000000..6a07394
--- /dev/null
+++ b/demo/custom/scripts/rpm.post
@@ -0,0 +1,7 @@
+# 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-meego ]; then
+ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-meego
+fi