summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-06-15 23:16:30 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-06-15 23:16:30 +0000
commita576f987a7fb1b42dd81b6a8281f38d2075acd05 (patch)
treed1da65661af73958bb870742dfc180451f4487e2 /app-admin/usermin
parentAdded ~amd64. (Manifest recommit) (diff)
downloadgentoo-2-a576f987a7fb1b42dd81b6a8281f38d2075acd05.tar.gz
gentoo-2-a576f987a7fb1b42dd81b6a8281f38d2075acd05.tar.bz2
gentoo-2-a576f987a7fb1b42dd81b6a8281f38d2075acd05.zip
Fixed for people without /usr/local/bin/perl.
Diffstat (limited to 'app-admin/usermin')
-rw-r--r--app-admin/usermin/ChangeLog5
-rw-r--r--app-admin/usermin/usermin-1.080.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/app-admin/usermin/ChangeLog b/app-admin/usermin/ChangeLog
index 1c1be2ec93aa..68cae6c8f485 100644
--- a/app-admin/usermin/ChangeLog
+++ b/app-admin/usermin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/usermin
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.25 2004/06/15 22:49:31 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.26 2004/06/15 23:16:30 eradicator Exp $
+
+ 15 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> usermin-1.080.ebuild:
+ Fixed for people without /usr/local/bin/perl.
*usermin-1.080 (15 Jun 2004)
diff --git a/app-admin/usermin/usermin-1.080.ebuild b/app-admin/usermin/usermin-1.080.ebuild
index 53e614cd44fd..4739deb22a2c 100644
--- a/app-admin/usermin/usermin-1.080.ebuild
+++ b/app-admin/usermin/usermin-1.080.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.080.ebuild,v 1.1 2004/06/15 22:49:31 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.080.ebuild,v 1.2 2004/06/15 23:16:30 eradicator Exp $
inherit eutils
@@ -43,6 +43,9 @@ src_install() {
newins ${FILESDIR}/${PN}.pam ${PN}
dosym ../usr/libexec/usermin /etc/usermin
+
+ # Change /usr/local/bin/perl references
+ find ${D} -type f | xargs sed -i 's:^#!.*/usr/local/bin/perl:#!/usr/bin/perl:'
}
pkg_postinst() {