Line 7... |
Line 7... |
7 |
#
|
7 |
#
|
8 |
########################################################################
|
8 |
########################################################################
|
9 |
|
9 |
|
10 |
%post
|
10 |
%post
|
11 |
|
11 |
|
12 |
# get SL release version
|
12 |
# get SL release version and date
|
13 |
version=$( grep -o [0-9].[0-9] /etc/redhat-release )
|
13 |
version=$( grep -o [0-9].[0-9] /etc/redhat-release )
|
- |
|
14 |
date=$( date "+%A, %d-%B-%Y" )
|
14 |
|
15 |
|
15 |
# get SL logo
|
16 |
# get SL logo
|
16 |
cp /usr/share/doc/sl-release-notes-$version/images/sl-logo-96.png /usr/share/doc/HTML/sl-logo-96.png
|
17 |
cp /usr/share/doc/sl-release-notes-$version/images/sl-logo-96.png /usr/share/doc/HTML/sl-logo-96.png
|
17 |
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
|
18 |
if [ ! -e /usr/share/doc/HTML/sl-logo-96.png ]; then
|
18 |
wget --timeout=20 http://131.225.111.32/documentation/graphics/logo/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
|
19 |
wget --timeout=20 http://131.225.111.32/documentation/graphics/logo/sl-logo-96.png -O /usr/share/doc/HTML/sl-logo-96.png
|
Line 38... |
Line 39... |
38 |
which is recompiled from <a href="http://www.redhat.com/software/rhel/">RedHat Enterprise Linux</a> (RHEL) sources.<br>
|
39 |
which is recompiled from <a href="http://www.redhat.com/software/rhel/">RedHat Enterprise Linux</a> (RHEL) sources.<br>
|
39 |
The Live CD/DVD has a read-write rootfs and squashfs provides on-the-fly decompression that allows to store
|
40 |
The Live CD/DVD has a read-write rootfs and squashfs provides on-the-fly decompression that allows to store
|
40 |
2 GB software on a normal CD-ROM. It can be installed on hard disk or usb drive with persistent changes.
|
41 |
2 GB software on a normal CD-ROM. It can be installed on hard disk or usb drive with persistent changes.
|
41 |
The Live CD/DVDs were built using the <a href="http://fedoraproject.org/wiki/FedoraLiveCD">Fedora LiveCD Tools</a>.</p>
|
42 |
The Live CD/DVDs were built using the <a href="http://fedoraproject.org/wiki/FedoraLiveCD">Fedora LiveCD Tools</a>.</p>
|
42 |
<p>For more information visit the <a href="http://www.livecd.ethz.ch/">Scientific Linux Live Homepage</a>.</p>
|
43 |
<p>For more information visit the <a href="http://www.livecd.ethz.ch/">Scientific Linux Live Homepage</a>.</p>
|
43 |
<p align=right>Last modified: Friday, 04-March-2011 by Urs Beyerle</p>
|
44 |
<p align=right>Last modified: ${date} by Urs Beyerle</p>
|
44 |
</body>
|
45 |
</body>
|
45 |
</html>
|
46 |
</html>
|
46 |
EOF
|
47 |
EOF
|
47 |
|
48 |
|
48 |
cat > /usr/share/doc/HTML/layout.css << EOF
|
49 |
cat > /usr/share/doc/HTML/layout.css << EOF
|