summaryrefslogtreecommitdiff
path: root/games-fps/ut2004-data/ut2004-data.ebuild.diff
blob: f65db066d80865a664505862237bbdbfdcf6447e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- ut2004-data-3186-r3.ebuild.old	2008-07-24 23:36:56.000000000 +0200
+++ ut2004-data-3186-r3.ebuild	2008-07-24 23:38:46.000000000 +0200
@@ -126,33 +126,10 @@
 				|| die "copying Manual.pdf"
 		fi
 
-		# Symlinks for unshield. data1&2.cab are both in Disk1.
-		# unshield needs data1.hdr
-		if [[ "${USE_GERMAN_MIDWAY_DVD}" -eq 1 ]] ; then
-			ln -sfn "${CDROM_ROOT}/disk1/data1.hdr" .
-			ln -sfn "${CDROM_ROOT}/disk1/data1.cab" .
-			ln -sfn "${CDROM_ROOT}/disk1/data2.cab" .
-			ln -sfn "${CDROM_ROOT}/disk2/data3.cab" .
-			ln -sfn "${CDROM_ROOT}/disk3/data4.cab" .
-			ln -sfn "${CDROM_ROOT}/disk4/data5.cab" .
-			ln -sfn "${CDROM_ROOT}/disk5/data6.cab" .
-			ln -sfn "${CDROM_ROOT}/disk6/data7.cab" .
-			ln -sfn "${CDROM_ROOT}/disk7/data8.cab" .
-		else
-			ln -sfn "${CDROM_ROOT}/Disk1/data1.hdr" .
-			ln -sfn "${CDROM_ROOT}/Disk1/data1.cab" .
-			ln -sfn "${CDROM_ROOT}/Disk1/data2.cab" .
-			ln -sfn "${CDROM_ROOT}/Disk2/data3.cab" .
-			ln -sfn "${CDROM_ROOT}/Disk3/data4.cab" .
-			ln -sfn "${CDROM_ROOT}/Disk4/data5.cab" .
-			ln -sfn "${CDROM_ROOT}/Disk5/data6.cab" .
-			# The Midway Anthology DVD contains up to data9.cab
-			if [[ -e "${CDROM_ROOT}/Disk8/data9.cab" ]] ; then
-				ln -sfn "${CDROM_ROOT}/Disk6/data7.cab" .
-				ln -sfn "${CDROM_ROOT}/Disk7/data8.cab" .
-				ln -sfn "${CDROM_ROOT}/Disk8/data9.cab" .
-			fi
-		fi
+		for cab in "${CDROM_ROOT}"/[dD]isk?/data?.{cab,hdr}; do
+			elog "Linking: $cab"
+			ln -sfn ${cab} .
+		done
 
 		# The big extraction
 		einfo "Extracting from CAB files - this will take several minutes."
c83ac88c18b9b880eb7ccd5259&follow=1'>moved *.glade and *.ui to one directory to omit the change of the config.py e...necoro5-1191/+0 2007-04-24moved *.glade and *.ui to one directory to omit the change of the config.py e...necoro1-1340/+0 2007-04-24added dialogs to warn you when the queue is running on quitting portatonecoro8-214/+267 2007-04-20Made qt plugin-ready; lots of documentationnecoro15-81/+351 2007-04-18nomsgnecoro1-1/+0 2007-04-18finished Qt-Frontendnecoro5-15/+117 2007-04-17marking installed packages in pkglistnecoro5-14/+50 2007-04-16added ebuild window for Qt-Frontendnecoro4-2/+229 2007-04-16added preferences for Qt-Frontendnecoro9-279/+710 2007-04-13Improved masking display and made most of the Qt-Frontend worknecoro7-35/+334 2007-04-10Some more functionality for the Qt-Frontend (complete emerge)necoro8-217/+347 2007-04-07Some more functionality for the Qt-Frontendnecoro11-88/+463 2007-04-07Added Qt-Terminalnecoro4-4/+213 2007-04-06First qt draftnecoro6-1/+796 2007-04-04showed masked packages unmasked by the user similar to stable marked testing ...necoro5-13/+40 2007-03-31changed changelognecoro1-1/+2 2007-03-31Some small changes for etcproposals 1.1necoro1-2/+2 2007-03-31Some small changes for etcproposals 1.1necoro2-3/+3 2007-03-31Some small changes for etcproposals 1.1necoro1-6/+13 2007-03-31Allowed Plugins to have a menunecoro7-201/+315 2007-03-15Added etc-proposals pluginnecoro7-28/+121 2007-03-10Added USE_EXPAND-supportnecoro5-11/+63 2007-03-10Added plugin-data to about-dialognecoro3-197/+264