summaryrefslogtreecommitdiff
path: root/testing/gnupg/install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-03-28 23:55:37 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-03-28 23:55:37 -0300
commit2d0e587bd1c7ac060a95a0e20cfe00ab19db7e14 (patch)
tree66a82d2834fe42b3411c09ad9fdcc4bd6af079ac /testing/gnupg/install
parent6aa1c22fe01ff4df6c5f75fd04d551b53f7df389 (diff)
parent44ded298ebb49500d321ac79b7d0d8bb4d5058ec (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: core/gnupg/PKGBUILD core/openldap/PKGBUILD gnome-unstable/evince/PKGBUILD gnome-unstable/evolution-data-server/PKGBUILD gnome-unstable/evolution/PKGBUILD gnome-unstable/farstream/PKGBUILD gnome-unstable/gnome-desktop/PKGBUILD gnome-unstable/gnome-menus/PKGBUILD gnome-unstable/gnome-panel/PKGBUILD gnome-unstable/gtkhtml4/PKGBUILD gnome-unstable/libgnomekbd/PKGBUILD gnome-unstable/libwacom/PKGBUILD gnome-unstable/libwnck3/PKGBUILD gnome-unstable/network-manager-applet/PKGBUILD gnome-unstable/networkmanager-openconnect/PKGBUILD gnome-unstable/networkmanager-openvpn/PKGBUILD gnome-unstable/networkmanager-pptp/PKGBUILD gnome-unstable/networkmanager-vpnc/PKGBUILD gnome-unstable/networkmanager/PKGBUILD gnome-unstable/pidgin/PKGBUILD testing/gnupg/PKGBUILD
Diffstat (limited to 'testing/gnupg/install')
-rw-r--r--testing/gnupg/install20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/gnupg/install b/testing/gnupg/install
new file mode 100644
index 000000000..3a5dc9fd6
--- /dev/null
+++ b/testing/gnupg/install
@@ -0,0 +1,20 @@
+info_dir=/usr/share/info
+info_files=(gnupg.info gnupg.info-1 gnupg.info-2)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for f in ${info_files[@]}; do
+ usr/bin/install-info ${info_dir}/$f ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for f in ${info_files[@]}; do
+ usr/bin/install-info --delete ${info_dir}/$f ${info_dir}/dir 2> /dev/null
+ done
+}