testing/tcsh: add /bin/tcsh to /etc/shells

Fixes #8618
This commit is contained in:
Sören Tempel 2018-03-07 11:17:05 +01:00
parent 7e56c0aaff
commit 2fd76197ae
4 changed files with 9 additions and 2 deletions

View File

@ -2,14 +2,14 @@
# Maintainer: # Maintainer:
pkgname=tcsh pkgname=tcsh
pkgver=6.20.00 pkgver=6.20.00
pkgrel=1 pkgrel=2
pkgdesc="extended C-shell" pkgdesc="extended C-shell"
url="http://www.tcsh.org" url="http://www.tcsh.org"
arch="all" arch="all"
license="BSD" license="BSD"
depends="" depends=""
makedepends="ncurses-dev" makedepends="ncurses-dev"
install="" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="ftp://ftp.astron.com/pub/tcsh/${pkgname}-${pkgver}.tar.gz source="ftp://ftp.astron.com/pub/tcsh/${pkgname}-${pkgver}.tar.gz
001-sysmalloc.patch" 001-sysmalloc.patch"

View File

@ -0,0 +1,3 @@
#!/bin/sh
add-shell '/bin/tcsh'
exit 0

View File

@ -0,0 +1 @@
tcsh.post-install

View File

@ -0,0 +1,3 @@
#!/bin/sh
remove-shell '/bin/tcsh'
exit 0