summaryrefslogtreecommitdiff
path: root/cross/mips64el-unknown-linux-gnu-gcc/gcc-ada.install
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-01-23 18:59:54 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-01-23 18:59:54 +0100
commit5a2a29f05fe3546c8392bf739c02f43bb6c6251d (patch)
tree16add8323d7b9bd071f79e2dcc8e07c0f71835ee /cross/mips64el-unknown-linux-gnu-gcc/gcc-ada.install
parent83fee57a9a83eaeed4e7ff8f272ef56881669174 (diff)
parentde4a9a4bbd55fd6308e53bf2869ac35036fac977 (diff)
downloadabslibre-5a2a29f05fe3546c8392bf739c02f43bb6c6251d.tar.gz
abslibre-5a2a29f05fe3546c8392bf739c02f43bb6c6251d.tar.bz2
abslibre-5a2a29f05fe3546c8392bf739c02f43bb6c6251d.zip
Merge branch 'master' of git+ssh://parabola-git/abslibre
Diffstat (limited to 'cross/mips64el-unknown-linux-gnu-gcc/gcc-ada.install')
-rw-r--r--cross/mips64el-unknown-linux-gnu-gcc/gcc-ada.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/cross/mips64el-unknown-linux-gnu-gcc/gcc-ada.install b/cross/mips64el-unknown-linux-gnu-gcc/gcc-ada.install
new file mode 100644
index 000000000..df0553a4f
--- /dev/null
+++ b/cross/mips64el-unknown-linux-gnu-gcc/gcc-ada.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gnat-style.info gnat_rm.info gnat_ugn.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+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
+}