summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-27 05:38:29 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-27 05:38:29 +0000
commitc92fe5212aabe3294b27cdec9710c65844bade0d (patch)
treec42135a48d0c06a12d8c73dd5d5ff5912c4d236b /sys-apps/miscfiles
parentVersion bump #266649 by Rodrigo Severo and path fixes by P Purkayastha #21540... (diff)
downloadhistorical-c92fe5212aabe3294b27cdec9710c65844bade0d.tar.gz
historical-c92fe5212aabe3294b27cdec9710c65844bade0d.tar.bz2
historical-c92fe5212aabe3294b27cdec9710c65844bade0d.zip
Check for create-cracklib-dict in PATH before trying to run it #265932 by James Rowe.
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/miscfiles')
-rw-r--r--sys-apps/miscfiles/ChangeLog8
-rw-r--r--sys-apps/miscfiles/miscfiles-1.4.2.ebuild4
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-apps/miscfiles/ChangeLog b/sys-apps/miscfiles/ChangeLog
index 3f985a3ad904..9b90749175a8 100644
--- a/sys-apps/miscfiles/ChangeLog
+++ b/sys-apps/miscfiles/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/miscfiles
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/ChangeLog,v 1.22 2006/12/30 02:28:34 vapier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/ChangeLog,v 1.23 2009/04/27 05:38:29 vapier Exp $
+
+ 27 Apr 2009; Mike Frysinger <vapier@gentoo.org> miscfiles-1.4.2:
+ Check for create-cracklib-dict in PATH before trying to run it #265932 by
+ James Rowe.
30 Dec 2006; Mike Frysinger <vapier@gentoo.org> miscfiles-1.4.2.ebuild:
Regenerate the cracklib dictionary in pkg_postinst from all dict files
diff --git a/sys-apps/miscfiles/miscfiles-1.4.2.ebuild b/sys-apps/miscfiles/miscfiles-1.4.2.ebuild
index 3db8fef86f67..642c68dcabbb 100644
--- a/sys-apps/miscfiles/miscfiles-1.4.2.ebuild
+++ b/sys-apps/miscfiles/miscfiles-1.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.4.2.ebuild,v 1.5 2007/01/22 17:49:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.4.2.ebuild,v 1.6 2009/04/27 05:38:29 vapier Exp $
inherit eutils
@@ -41,7 +41,7 @@ src_install() {
}
pkg_postinst() {
- if [[ ${ROOT} == "/" ]] ; then
+ if [[ ${ROOT} == "/" ]] && type -P create-cracklib-dict >/dev/null ; then
ebegin "Regenerating cracklib dictionary"
create-cracklib-dict /usr/share/dict/* > /dev/null
eend $?