diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-02 21:04:01 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-02 21:04:01 -0300 |
commit | 0ebb087df0decfe020c909e249f86e1bd5628d22 (patch) | |
tree | 409ded8acfc32236a01cfd09164188cd7050ba72 /libre/xtensa-unknown-elf-glibc/xtensa-unknown-elf-glibc.install | |
parent | f23143833b78f880e6184c7f0eb25ba969b7945a (diff) | |
download | abslibre-0ebb087df0decfe020c909e249f86e1bd5628d22.tar.gz abslibre-0ebb087df0decfe020c909e249f86e1bd5628d22.tar.bz2 abslibre-0ebb087df0decfe020c909e249f86e1bd5628d22.zip |
xtensa-unknown-elf-{binutils,gcc,glibc,linux-libre-api-headers}: adding and fixing cross pkg
Diffstat (limited to 'libre/xtensa-unknown-elf-glibc/xtensa-unknown-elf-glibc.install')
-rw-r--r-- | libre/xtensa-unknown-elf-glibc/xtensa-unknown-elf-glibc.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libre/xtensa-unknown-elf-glibc/xtensa-unknown-elf-glibc.install b/libre/xtensa-unknown-elf-glibc/xtensa-unknown-elf-glibc.install new file mode 100644 index 000000000..f8147a6cf --- /dev/null +++ b/libre/xtensa-unknown-elf-glibc/xtensa-unknown-elf-glibc.install @@ -0,0 +1,19 @@ +infodir=usr/share/info +filelist=(libc.info{,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11}) + +post_upgrade() { + ldconfig -r . + locale-gen + + [[ -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 +} |