summaryrefslogtreecommitdiff
path: root/libre/parabola-keyring/parabola-keyring.install
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-07-19 14:00:17 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-07-19 14:00:17 -0300
commitce32ebcbf7baaf37c3a1843d3a446b92bf98adce (patch)
tree69f9b9f250452e1e1dd0f92af043db47f4156420 /libre/parabola-keyring/parabola-keyring.install
parent050167114c83d87da8228b170c5bfc35d00d8953 (diff)
parentf6fa033cd8ddd7cf0efcc84b93ca8f27d5b1059b (diff)
downloadabslibre-ce32ebcbf7baaf37c3a1843d3a446b92bf98adce.tar.gz
abslibre-ce32ebcbf7baaf37c3a1843d3a446b92bf98adce.tar.bz2
abslibre-ce32ebcbf7baaf37c3a1843d3a446b92bf98adce.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/parabola-keyring/parabola-keyring.install')
-rw-r--r--libre/parabola-keyring/parabola-keyring.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/parabola-keyring/parabola-keyring.install b/libre/parabola-keyring/parabola-keyring.install
new file mode 100644
index 000000000..1c70f1a8d
--- /dev/null
+++ b/libre/parabola-keyring/parabola-keyring.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate parabola
+ fi
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}