diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-13 20:42:36 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-13 20:42:36 -0300 |
commit | fa7ae387a0aab9fe8fe9c9dabf6500076af83673 (patch) | |
tree | c266009c8f2ee60576513a56dd26c5af47f63a15 /~coadde/cross-binutils/lm32-unknown-elf-binutils.install | |
parent | 4ff12c1443c08ba2ef8dee44533b61e1a0a51b5b (diff) | |
download | abslibre-fa7ae387a0aab9fe8fe9c9dabf6500076af83673.tar.gz abslibre-fa7ae387a0aab9fe8fe9c9dabf6500076af83673.tar.bz2 abslibre-fa7ae387a0aab9fe8fe9c9dabf6500076af83673.zip |
cross-binutils: fixing architectures
Diffstat (limited to '~coadde/cross-binutils/lm32-unknown-elf-binutils.install')
-rw-r--r-- | ~coadde/cross-binutils/lm32-unknown-elf-binutils.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/lm32-unknown-elf-binutils.install b/~coadde/cross-binutils/lm32-unknown-elf-binutils.install new file mode 100644 index 000000000..c2481ba1f --- /dev/null +++ b/~coadde/cross-binutils/lm32-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=lm32-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} |