summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-05-10 15:55:41 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-05-10 15:55:41 +0000
commit447b67f5007c8ef31549e81c55989b06b724d4a1 (patch)
treefb906658d933ad3e5619062bebee8a13b0108edf /net-dialup
parentremove old, vulnerable version (diff)
downloadgentoo-2-447b67f5007c8ef31549e81c55989b06b724d4a1.tar.gz
gentoo-2-447b67f5007c8ef31549e81c55989b06b724d4a1.tar.bz2
gentoo-2-447b67f5007c8ef31549e81c55989b06b724d4a1.zip
Fix unpack problem reportet by Lukas Schubert <lukas.schubert@adviceandact.de> on gentoo-user-de
(Portage version: 1.589-cvs)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/fritzcapi/ChangeLog7
-rw-r--r--net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild8
2 files changed, 11 insertions, 4 deletions
diff --git a/net-dialup/fritzcapi/ChangeLog b/net-dialup/fritzcapi/ChangeLog
index 9a9e783e5701..c906f33196d1 100644
--- a/net-dialup/fritzcapi/ChangeLog
+++ b/net-dialup/fritzcapi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/fritzcapi
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/ChangeLog,v 1.14 2005/04/24 10:09:29 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/ChangeLog,v 1.15 2005/05/10 15:55:41 genstef Exp $
+
+ 10 May 2005; Stefan Schweizer <genstef@gentoo.org>
+ fritzcapi-2.6.32.ebuild:
+ Fix unpack problem reportet by Lukas Schubert
+ <lukas.schubert@adviceandact.de> on gentoo-user-de
24 Apr 2005; Stefan Schweizer <genstef@gentoo.org>
fritzcapi-2.6.32.ebuild:
diff --git a/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild b/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild
index 10476643494d..24de5613c118 100644
--- a/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild
+++ b/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild,v 1.7 2005/04/24 10:09:29 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild,v 1.8 2005/05/10 15:55:41 genstef Exp $
inherit linux-mod rpm eutils
@@ -113,7 +113,9 @@ pkg_setup() {
}
src_unpack() {
- [ -e ${DISTDIR}/km_${P/2.6./2.6-}.i586.rpm ] && rpm_unpack ${DISTDIR}/km_${P/2.6./2.6-}.i586.rpm
+ if [ -e ${DISTDIR}/km_${P/2.6./2.6-}.i586.rpm ]; then
+ rpm_unpack ${DISTDIR}/km_${P/2.6./2.6-}.i586.rpm
+ else mkdir -p ${S}; fi
cd ${S}
for ((CARD=0; CARD < ${#AVM_SRC[*]}; CARD++)); do
if [ -e ${DISTDIR}/${AVM_FILES[CARD]}.tar.gz ]; then
@@ -121,7 +123,7 @@ src_unpack() {
CRD_NAME=${AVM_FILES[CARD]/-*}
CRD_NAME=${CRD_NAME/fc}
CRD_NAME=${CRD_NAME/f}
- mv fritz.${CRD_NAME} fritz.${CRD_NAME}.orig
+ [ -e fritz.${CRD_NAME} ] && mv fritz.${CRD_NAME} fritz.${CRD_NAME}.orig
mv fritz fritz.${CRD_NAME}
fi
done