diff options
-rw-r--r-- | main/bash/APKBUILD | 3 | ||||
-rw-r--r-- | main/bash/bash.post-install | 3 | ||||
l--------- | main/bash/bash.post-upgrade | 1 | ||||
-rw-r--r-- | main/bash/bash.pre-deinstall | 3 |
4 files changed, 9 insertions, 1 deletions
diff --git a/main/bash/APKBUILD b/main/bash/APKBUILD index 163a8c73c3..65e5633294 100644 --- a/main/bash/APKBUILD +++ b/main/bash/APKBUILD @@ -5,13 +5,14 @@ pkgver=4.3.33 _patchlevel=${pkgver##*.} _myver=${pkgver%.*} _patchbase=${_myver/./} -pkgrel=0 +pkgrel=1 pkgdesc="The GNU Bourne Again shell" url="http://www.gnu.org/software/bash/bash.html" arch="all" license="GPL3+" makedepends="readline-dev ncurses-dev bison flex" depends="" +install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" subpackages="$pkgname-doc" source="http://ftp.gnu.org/gnu/bash/bash-${_myver}.tar.gz bash-noinfo.patch diff --git a/main/bash/bash.post-install b/main/bash/bash.post-install new file mode 100644 index 0000000000..92ea8d928d --- /dev/null +++ b/main/bash/bash.post-install @@ -0,0 +1,3 @@ +#!/bin/sh +add-shell '/bin/bash' +exit 0 diff --git a/main/bash/bash.post-upgrade b/main/bash/bash.post-upgrade new file mode 120000 index 0000000000..85d6a8aac6 --- /dev/null +++ b/main/bash/bash.post-upgrade @@ -0,0 +1 @@ +bash.post-install
\ No newline at end of file diff --git a/main/bash/bash.pre-deinstall b/main/bash/bash.pre-deinstall new file mode 100644 index 0000000000..d110afedd5 --- /dev/null +++ b/main/bash/bash.pre-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh +remove-shell '/bin/bash' +exit 0 |