summaryrefslogtreecommitdiff
path: root/~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-10 22:23:24 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-10 22:23:24 -0300
commitc676c5c5a3d3882514483abea0a147817ff6d759 (patch)
treebf3cc8b1bd6fc09f120eef9c2b91729a6360b99b /~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install
parent490a0967890f32110ef58d5fc7565bd6d89355b1 (diff)
move xtensa packages to ~coadde repo to use db-move to move it to cross repo from the server
Diffstat (limited to '~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install')
-rw-r--r--~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install b/~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install
new file mode 100644
index 000000000..9de0533ee
--- /dev/null
+++ b/~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install
@@ -0,0 +1,17 @@
+infodir=usr/share/info
+filelist=(as.info bfd.info binutils.info gprof.info ld.info)
+
+post_upgrade() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+