Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 163031
Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +53 lines)
Lines 84-85 Link Here
84
			NWN_SET="platinum_cd"
84
			if [ -f "${CD_ROOT}"/data2.cab ]
85
			einfo "Neverwinter Nights Platinum DVD/CD set found..."
85
			then
86
--
86
				NWN_SET="platinum_dvd"
87
				einfo "Neverwinter Nights Platinum DVD found..."
88
			else
89
				NWN_SET="platinum_cd"
90
				einfo "Neverwinter Nights Platinum CD set found..."
91
			fi
Lines 145-146 Link Here
145
		touch .metadata/sou || die "touch sou"
151
		if use sou
146
		touch .metadata/hou || die "touch hou"
152
		then
147
--
153
			touch .metadata/sou || die "touch sou"
154
		fi
155
		if use hou
156
		then
157
			touch .metadata/hou || die "touch hou"
158
		fi
Line 198 Link Here
210
	platinum_dvd)
211
		einfo "Both shadows of the Undertide and Hordes of the Underdark will"
212
		einfo "be installed from your DVD along with Neverwinter Nights"
213
		if use sou
214
		then
215
			touch .metadata/sou || die "touch sou"
216
			einfo "Shadows of the Undertide will be installed as well."
217
		fi
218
		if use hou
219
		then
220
			touch .metadata/hou || die "touch hou"
221
		fi
222
		touch .metadata/orig || die "touch orig"
223
		cdrom_get_cds ArcadeInstallNWNXP213f.EXE
224
		;;
Line 332 Link Here
359
		platinum_dvd)
360
			# The directory structure is created when unzipping
361
			# but the unshielded data2.cab files have to be moved.
362
			mkdir -p "${S}"
363
			cd "${S}"
364
			einfo "Unpacking files..."
365
			unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking"
366
			unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking"
367
			unzip -qo "${CDROM_ROOT}"/Language_Update.zip || die "unpacking"
368
			if use sou || use hou
369
			then
370
				unshield x ${CDROM_ROOT}/data2.cab || die "unpacking"
371
			fi
372
			rm -rf _*
373
			mv NWN_Platinum/Miles/* miles/
374
			mv NWN_Platinum/ambient/*.wav ambient/
375
			mv NWN_Platinum/docs .
376
			mv NWN_Platinum/modules .
377
			mv NWN_Platinum/nwm .
378
			mv NWN_Platinum/utils/nwupdateskins/*.bmp utils/nwupdateskins/
379
			rm -rf NWN_Platinum/
380
			;;

Return to bug 163031