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
|
#! /bin/sh -e
BDIR=$TDIR/$CODENAME-$FULLARCH
CD=CD1
if [ -f "$LIVEIMAGES/$ARCH.winfoss.tgz" ]; then
tar -C "$BDIR/$CD" -xzf "$LIVEIMAGES/$ARCH.winfoss.tgz"
if [ -e "$BDIR/$CD/programs/firefox/Firefox Setup 1.0.exe" ]; then
mv "$BDIR/$CD/programs/firefox/Firefox Setup 1.0.exe" \
"$BDIR/$CD/programs/firefox/FirefoxSetup1.0.exe"
fi
if [ -e "$BDIR/$CD/programs/thunderbird/Thunderbird Setup 1.0.exe" ]; then
mv "$BDIR/$CD/programs/thunderbird/Thunderbird Setup 1.0.exe" \
"$BDIR/$CD/programs/thunderbird/ThunderbirdSetup-1.0.exe"
fi
fi
if [ -f "$LIVEIMAGES/$ARCH.wubi.exe" ]; then
# Wubi always goes on CD1.
cp -a "$LIVEIMAGES/$ARCH.wubi.exe" "$BDIR/CD1/wubi.exe"
fi
if [ -f "$LIVEIMAGES/$ARCH.umenu.exe" ]; then
# umenu always goes on CD1.
cp -a "$LIVEIMAGES/$ARCH.umenu.exe" "$BDIR/CD1/umenu.exe"
fi
if [ -f "$LIVEIMAGES/$ARCH.wubi-cdboot.exe" ]; then
# Wubi (for CD booting only) always goes on CD1.
cp -a "$LIVEIMAGES/$ARCH.wubi-cdboot.exe" "$BDIR/CD1/wubi-cdboot.exe"
fi
if [ -f "$LIVEIMAGES/$ARCH.autorun.inf" ]; then
# autorun.inf always goes on CD1.
cp -a "$LIVEIMAGES/$ARCH.autorun.inf" "$BDIR/CD1/autorun.inf"
fi
|