diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-01-09 19:09:45 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-01-09 19:09:45 +0000 |
commit | b147c98ca95b7298a1c388eaef8d8426f42fbfeb (patch) | |
tree | 8c33c1466e030d02b51bf1ad67f9bbbaf0397480 /net-dialup/hcfpcimodem | |
parent | Sparc stable --- Bug #202181 --- utilities seem fine. (diff) | |
download | gentoo-2-b147c98ca95b7298a1c388eaef8d8426f42fbfeb.tar.gz gentoo-2-b147c98ca95b7298a1c388eaef8d8426f42fbfeb.tar.bz2 gentoo-2-b147c98ca95b7298a1c388eaef8d8426f42fbfeb.zip |
Run hcfpciconfig --remove in pkg_prerm (#205071).
(Portage version: 2.1.3.19, RepoMan options: --force)
Diffstat (limited to 'net-dialup/hcfpcimodem')
-rw-r--r-- | net-dialup/hcfpcimodem/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.14-r1 (renamed from net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.14) | 0 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild (renamed from net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild) | 14 |
3 files changed, 18 insertions, 4 deletions
diff --git a/net-dialup/hcfpcimodem/ChangeLog b/net-dialup/hcfpcimodem/ChangeLog index e247a39dbfa0..db4d691daff8 100644 --- a/net-dialup/hcfpcimodem/ChangeLog +++ b/net-dialup/hcfpcimodem/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/hcfpcimodem # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.34 2008/01/08 10:02:53 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.35 2008/01/09 19:09:44 mrness Exp $ + +*hcfpcimodem-1.14-r1 (09 Jan 2008) + + 09 Jan 2008; Alin Năstac <mrness@gentoo.org> -hcfpcimodem-1.14.ebuild, + +hcfpcimodem-1.14-r1.ebuild: + Run hcfpciconfig --remove in pkg_prerm (#205071). 08 Jan 2008; Markus Meier <maekke@gentoo.org> hcfpcimodem-1.14.ebuild: x86 stable, bug #204178 diff --git a/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.14 b/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.14-r1 index 302a45a8bf35..302a45a8bf35 100644 --- a/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.14 +++ b/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.14-r1 diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild index cfe97e07f02b..7cf2c7d2daf0 100644 --- a/net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild +++ b/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild,v 1.2 2008/01/08 10:02:53 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild,v 1.1 2008/01/09 19:09:44 mrness Exp $ inherit eutils linux-info @@ -77,6 +77,14 @@ src_install () { } pkg_postinst() { - elog "To complete the installation and configuration of your HCF modem," - elog "please run hcfpciconfig." + if [ "${ROOT}" = / ]; then + elog "To complete the installation and configuration of your HCF modem," + elog "please run hcfpciconfig." + fi +} + +pkg_prerm() { + if [ "${ROOT}" = / -a -f /etc/init.d/hcfpci ] ; then + hcfpciconfig --remove || die "hcfpciconfig --remove failed" + fi } |