summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/i786-pc-linux-gnu-binutils.install
blob: b6422d2ce987c1b4e3398ce9b3dd97b810485086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
_pkgname=i786-pc-linux-gnu-binutils

post_install() {
  linktools set $_pkgname
  linktools update binutils
}

post_upgrade() {
  post_install
}

pre_remove() {
  [[ $_pkgname == $(linktools check) ]] && {
    linktools unset
  }
}