summaryrefslogtreecommitdiff
path: root/~coadde/cross-binutils/s390-unknown-linux-gnu-binutils.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-15 07:49:21 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-15 07:49:21 -0300
commit97ecf9349c86a16eb67488e38be71e7acab651e2 (patch)
tree79bce6484dae93c616a7514c1dede98e59f9031b /~coadde/cross-binutils/s390-unknown-linux-gnu-binutils.install
parent594346c73fb352d9e7d9f11decace09f8aca447f (diff)
parent33a03f53dfc38d5d2e68dc429573098afb3ba456 (diff)
downloadabslibre-97ecf9349c86a16eb67488e38be71e7acab651e2.tar.gz
abslibre-97ecf9349c86a16eb67488e38be71e7acab651e2.tar.bz2
abslibre-97ecf9349c86a16eb67488e38be71e7acab651e2.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to '~coadde/cross-binutils/s390-unknown-linux-gnu-binutils.install')
-rw-r--r--~coadde/cross-binutils/s390-unknown-linux-gnu-binutils.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/~coadde/cross-binutils/s390-unknown-linux-gnu-binutils.install b/~coadde/cross-binutils/s390-unknown-linux-gnu-binutils.install
new file mode 100644
index 000000000..0a583f543
--- /dev/null
+++ b/~coadde/cross-binutils/s390-unknown-linux-gnu-binutils.install
@@ -0,0 +1,16 @@
+_pkgname=s390-unknown-linux-gnu-binutils
+
+post_install() {
+ linktools set $_pkgname
+ linktools update binutils
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [[ $_pkgname == $(linktools check) ]] && {
+ linktools unset
+ }
+}