diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-01-09 19:13:14 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-01-09 19:13:14 +0000 |
commit | 81c979bf31a514bb5899c46da792cf34e764723b (patch) | |
tree | 3dab2c6d2a9c390fb115fe84cf926e033bd3e326 /net-dialup | |
parent | Run hcfpciconfig --remove in pkg_prerm (#205071). (diff) | |
download | gentoo-2-81c979bf31a514bb5899c46da792cf34e764723b.tar.gz gentoo-2-81c979bf31a514bb5899c46da792cf34e764723b.tar.bz2 gentoo-2-81c979bf31a514bb5899c46da792cf34e764723b.zip |
Run hcfusbconfig --remove in pkg_prerm (#205071).
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/hcfusbmodem/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/hcfusbmodem/files/digest-hcfusbmodem-1.14-r1 (renamed from net-dialup/hcfusbmodem/files/digest-hcfusbmodem-1.14) | 1 | ||||
-rw-r--r-- | net-dialup/hcfusbmodem/hcfusbmodem-1.14-r1.ebuild (renamed from net-dialup/hcfusbmodem/hcfusbmodem-1.14.ebuild) | 16 |
3 files changed, 19 insertions, 6 deletions
diff --git a/net-dialup/hcfusbmodem/ChangeLog b/net-dialup/hcfusbmodem/ChangeLog index 621b1d37884e..30021f5e57be 100644 --- a/net-dialup/hcfusbmodem/ChangeLog +++ b/net-dialup/hcfusbmodem/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/hcfusbmodem # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfusbmodem/ChangeLog,v 1.25 2008/01/03 12:20:27 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfusbmodem/ChangeLog,v 1.26 2008/01/09 19:13:13 mrness Exp $ + +*hcfusbmodem-1.14-r1 (09 Jan 2008) + + 09 Jan 2008; Alin Năstac <mrness@gentoo.org> -hcfusbmodem-1.14.ebuild, + +hcfusbmodem-1.14-r1.ebuild: + Run hcfusbconfig --remove in pkg_prerm (#205071). 03 Jan 2008; Alin Năstac <mrness@gentoo.org> -files/hcfusbmodem-1.11-unset-locale.patch, -hcfusbmodem-1.11-r1.ebuild: diff --git a/net-dialup/hcfusbmodem/files/digest-hcfusbmodem-1.14 b/net-dialup/hcfusbmodem/files/digest-hcfusbmodem-1.14-r1 index 040da8b01e7c..78c2caa2ba49 100644 --- a/net-dialup/hcfusbmodem/files/digest-hcfusbmodem-1.14 +++ b/net-dialup/hcfusbmodem/files/digest-hcfusbmodem-1.14-r1 @@ -1,3 +1,2 @@ -MD5 21642072a22c7044fff537153f361620 hcfusbmodem-1.14powerpcfull.tar.gz 616625 RMD160 9828e5cef363016bb240b3eec59ec7ff7b66e328 hcfusbmodem-1.14powerpcfull.tar.gz 616625 SHA256 240a1c65c05a4fd5f97faf021bc48b11762c3b917bbec0eb59897135b9a8d735 hcfusbmodem-1.14powerpcfull.tar.gz 616625 diff --git a/net-dialup/hcfusbmodem/hcfusbmodem-1.14.ebuild b/net-dialup/hcfusbmodem/hcfusbmodem-1.14-r1.ebuild index c2ef75b8a0ce..765685efad3e 100644 --- a/net-dialup/hcfusbmodem/hcfusbmodem-1.14.ebuild +++ b/net-dialup/hcfusbmodem/hcfusbmodem-1.14-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfusbmodem/hcfusbmodem-1.14.ebuild,v 1.1 2007/11/05 23:01:03 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfusbmodem/hcfusbmodem-1.14-r1.ebuild,v 1.1 2008/01/09 19:13:13 mrness Exp $ inherit linux-info eutils @@ -35,6 +35,14 @@ src_install () { } pkg_postinst() { - elog "To complete the installation and configuration of your HCF modem," - elog "please run hcfusbconfig." + if [ "${ROOT}" = / ]; then + elog "To complete the installation and configuration of your HCF modem," + elog "please run hcfusbconfig." + fi +} + +pkg_prerm() { + if [ "${ROOT}" = / -a -f /etc/init.d/hcfusb ] ; then + hcfusbconfig --remove || die "hcfusbconfig --remove failed" + fi } |