summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/gdb/gdb.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-09 18:41:37 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-09 18:41:37 (GMT)
commit1c4b59e5d379ba44c9ba9e27750ebec49a597c0d (patch)
tree25fca8e6b7b683065d364d64865b60c6bb33bd2b /abs/core-testing/gdb/gdb.install
parentfbc08d61eff10b56a2fbab64a8dab5bdc1eb5edf (diff)
downloadlinhes_pkgbuild-1c4b59e5d379ba44c9ba9e27750ebec49a597c0d.zip
linhes_pkgbuild-1c4b59e5d379ba44c9ba9e27750ebec49a597c0d.tar.gz
linhes_pkgbuild-1c4b59e5d379ba44c9ba9e27750ebec49a597c0d.tar.bz2
gdb,telnet,patch,make,vte
Diffstat (limited to 'abs/core-testing/gdb/gdb.install')
-rw-r--r--abs/core-testing/gdb/gdb.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core-testing/gdb/gdb.install b/abs/core-testing/gdb/gdb.install
new file mode 100644
index 0000000..ca793a1
--- /dev/null
+++ b/abs/core-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
+}