diff options
author | root <root@rshg054.dnsready.net> | 2013-07-13 01:48:00 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-13 01:48:00 -0700 |
commit | c9952f3a144d9fb19917d7c100dca30d2d99f629 (patch) | |
tree | 94cc27a7d3077f0c571751f92f5cc6261d183dd8 /~coadde/cross-binutils/shl-unknown-elf-binutils.install | |
parent | 0d51c533d75a26daabeb9e7b9c5dcfb211498a4d (diff) |
Sat Jul 13 01:47:15 PDT 2013
Diffstat (limited to '~coadde/cross-binutils/shl-unknown-elf-binutils.install')
-rw-r--r-- | ~coadde/cross-binutils/shl-unknown-elf-binutils.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/shl-unknown-elf-binutils.install b/~coadde/cross-binutils/shl-unknown-elf-binutils.install new file mode 100644 index 000000000..cdb30916b --- /dev/null +++ b/~coadde/cross-binutils/shl-unknown-elf-binutils.install @@ -0,0 +1,16 @@ +_pkgname=shl-unknown-elf-binutils + +post_install() { + linktools set $_pkgname + linktools update binutils +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ $_pkgname == $(linktools check) ]] && { + linktools unset + } +} |