diff --git a/testing/tcsh/APKBUILD b/testing/tcsh/APKBUILD index 54139c093b5..3c713ab4122 100644 --- a/testing/tcsh/APKBUILD +++ b/testing/tcsh/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: pkgname=tcsh pkgver=6.20.00 -pkgrel=1 +pkgrel=2 pkgdesc="extended C-shell" url="http://www.tcsh.org" arch="all" license="BSD" depends="" makedepends="ncurses-dev" -install="" +install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" subpackages="$pkgname-doc" source="ftp://ftp.astron.com/pub/tcsh/${pkgname}-${pkgver}.tar.gz 001-sysmalloc.patch" diff --git a/testing/tcsh/tcsh.post-install b/testing/tcsh/tcsh.post-install new file mode 100644 index 00000000000..7342c5e7212 --- /dev/null +++ b/testing/tcsh/tcsh.post-install @@ -0,0 +1,3 @@ +#!/bin/sh +add-shell '/bin/tcsh' +exit 0 diff --git a/testing/tcsh/tcsh.post-upgrade b/testing/tcsh/tcsh.post-upgrade new file mode 120000 index 00000000000..180542a18bd --- /dev/null +++ b/testing/tcsh/tcsh.post-upgrade @@ -0,0 +1 @@ +tcsh.post-install \ No newline at end of file diff --git a/testing/tcsh/tcsh.pre-deinstall b/testing/tcsh/tcsh.pre-deinstall new file mode 100644 index 00000000000..9e2e34c1c55 --- /dev/null +++ b/testing/tcsh/tcsh.pre-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh +remove-shell '/bin/tcsh' +exit 0