summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gdb/gdb.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-05-04 01:31:27 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-05-04 01:31:27 (GMT)
commit54f814b2883e334fc2946d3d592e8df37d46b926 (patch)
treee4791f2e4939c4bbcd5efa98786b5c769c804e1f /abs/extra-testing/gdb/gdb.install
parentab8848ac71bfaa899b903f7c2529fbd373248c29 (diff)
downloadlinhes_pkgbuild-54f814b2883e334fc2946d3d592e8df37d46b926.zip
linhes_pkgbuild-54f814b2883e334fc2946d3d592e8df37d46b926.tar.gz
linhes_pkgbuild-54f814b2883e334fc2946d3d592e8df37d46b926.tar.bz2
Initial inclusion.
Diffstat (limited to 'abs/extra-testing/gdb/gdb.install')
-rw-r--r--abs/extra-testing/gdb/gdb.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/extra-testing/gdb/gdb.install b/abs/extra-testing/gdb/gdb.install
new file mode 100644
index 0000000..ca793a1
--- /dev/null
+++ b/abs/extra-testing/gdb/gdb.install
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+filelist=(annotate.info gdb.info gdb.info-1 gdb.info-2 gdb.info-3 gdb.info-4 gdbint.info gdbint.info-1 gdbint.info-2 stabs.info)
+
+post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}