From c676c5c5a3d3882514483abea0a147817ff6d759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Wed, 10 Jul 2013 22:23:24 -0300 Subject: move xtensa packages to ~coadde repo to use db-move to move it to cross repo from the server --- .../xtensa-unknown-elf-binutils.install | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install (limited to '~coadde/xtensa-unknown-elf-binutils/xtensa-unknown-elf-binutils.install') 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 +} + -- cgit v1.2.3-2-g168b