diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-09-01 23:57:42 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-09-01 23:57:42 +0000 |
commit | 0d058cd3e579727a927a8bd3151d64b10071893d (patch) | |
tree | 1fa85b486d35872b1ddadbc7d5b65bed2749b894 /games-rpg | |
parent | Fixing memory leak, Bug #129778 (diff) | |
download | gentoo-2-0d058cd3e579727a927a8bd3151d64b10071893d.tar.gz gentoo-2-0d058cd3e579727a927a8bd3151d64b10071893d.tar.bz2 gentoo-2-0d058cd3e579727a927a8bd3151d64b10071893d.zip |
Add some more error checking into the unpacking stage.
(Portage version: 2.1.1_rc1-r1)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/nwn-data/ChangeLog | 5 | ||||
-rw-r--r-- | games-rpg/nwn-data/nwn-data-1.29.ebuild | 16 |
2 files changed, 12 insertions, 9 deletions
diff --git a/games-rpg/nwn-data/ChangeLog b/games-rpg/nwn-data/ChangeLog index 43b9cd529522..9fff9c25042a 100644 --- a/games-rpg/nwn-data/ChangeLog +++ b/games-rpg/nwn-data/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-rpg/nwn-data # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.16 2006/08/29 21:49:47 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.17 2006/09/01 23:57:42 wolf31o2 Exp $ + + 01 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org> nwn-data-1.29.ebuild: + Add some more error checking into the unpacking stage. 29 Aug 2006; Chris Gianelloni <wolf31o2@gentoo.org> nwn-data-1.29.ebuild: Stable for games-rpg/nwn-1.6.7-r1+ diff --git a/games-rpg/nwn-data/nwn-data-1.29.ebuild b/games-rpg/nwn-data/nwn-data-1.29.ebuild index 5d6bdbece7cd..f039f7a4a5d1 100644 --- a/games-rpg/nwn-data/nwn-data-1.29.ebuild +++ b/games-rpg/nwn-data/nwn-data-1.29.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.17 2006/08/29 21:49:47 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.18 2006/09/01 23:57:42 wolf31o2 Exp $ inherit eutils games @@ -102,10 +102,10 @@ src_unpack() { fi if use sou then - unzip -o "${CDROM_ROOT}"/Data_Shared.zip - unzip -o "${CDROM_ROOT}"/Language_data.zip - unzip -o "${CDROM_ROOT}"/Language_update.zip - unzip -o "${CDROM_ROOT}"/Data_Linux.zip + unzip -o "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking" + unzip -o "${CDROM_ROOT}"/Language_data.zip || die "unpacking" + unzip -o "${CDROM_ROOT}"/Language_update.zip || die "unpacking" + unzip -o "${CDROM_ROOT}"/Data_Linux.zip || die "unpacking" rm -f data/patch.bif patch.key touch .metadata/sou || die "touching sou" fi @@ -117,9 +117,9 @@ src_unpack() { cdrom_load_next_cd fi rm -f data/patch.bif patch.key - unzip -o "${CDROM_ROOT}"/Data_Shared.zip - unzip -o "${CDROM_ROOT}"/Language_data.zip - unzip -o "${CDROM_ROOT}"/Language_update.zip + unzip -o "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking" + unzip -o "${CDROM_ROOT}"/Language_data.zip || die "unpacking" + unzip -o "${CDROM_ROOT}"/Language_update.zip || die "unpacking" touch .metadata/hou || die "touching hou" fi |