diff options
author | Sam James <sam@gentoo.org> | 2021-05-13 15:51:50 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-05-13 15:51:50 +0200 |
commit | e55ffa43b93740bf65874a3945062437dc03bcf6 (patch) | |
tree | 1eea55dac82ac09f841603cabe88408b78f3e1b7 /sys-apps/cracklib-words | |
parent | sys-apps/man-pages-posix: drop 2013a (EAPI 5) (diff) | |
download | gentoo-e55ffa43b93740bf65874a3945062437dc03bcf6.tar.gz gentoo-e55ffa43b93740bf65874a3945062437dc03bcf6.tar.bz2 gentoo-e55ffa43b93740bf65874a3945062437dc03bcf6.zip |
sys-apps/cracklib-words: update EAPI 5 -> 7
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/cracklib-words')
-rw-r--r-- | sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild b/sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild index 6f3b6cfc1d80..4ead5b71c749 100644 --- a/sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild +++ b/sys-apps/cracklib-words/cracklib-words-2.9.6.ebuild @@ -1,18 +1,16 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 -DESCRIPTION="large set of crack/cracklib dictionaries" +DESCRIPTION="Large set of crack/cracklib dictionaries" HOMEPAGE="https://github.com/cracklib/cracklib/" SRC_URI="https://github.com/cracklib/cracklib/releases/download/${P/-words}/${P}.gz" +S="${WORKDIR}" LICENSE="public-domain" SLOT="0" KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="" - -S=${WORKDIR} src_install() { insinto /usr/share/dict @@ -20,7 +18,7 @@ src_install() { } pkg_postinst() { - if [ "${ROOT}" = "/" ] && create-cracklib-dict -h >&/dev/null ; then + if [[ -z "${ROOT}" ]] && create-cracklib-dict -h >&/dev/null ; then ebegin "Regenerating cracklib dictionary" create-cracklib-dict /usr/share/dict/* >/dev/null eend $? |