-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
- doinitd "${FILESDIR}/jailkit"
+ doinitd "${FILESDIR}/jailkit" || die "doinit install failed"
}
pkg_postinst() {
ebegin "Updating /etc/shells"
- ( grep -v "^/usr/sbin/jk_chroots$" "${ROOT}"etc/shells; echo "/usr/sbin/jk_chroots" ) > "${T}"/shells
+ { grep -v "^/usr/sbin/jk_chrootsh$" "${ROOT}"etc/shells; echo "/usr/sbin/jk_chrootsh"; } > "${T}"/shells
mv -f "${T}"/shells "${ROOT}"etc/shells
eend $?
}