Commit ee9cdc78 authored by Thiago H. S. Picharski's avatar Thiago H. S. Picharski

Merge remote branch 'le-base/master'

Signed-off-by: default avatarThiago H. S. Picharski <thsp08@c3sl.ufpr.br>
parents 2328163a a0e19655
#!/bin/bash
# gerar.sh
# Copyright (c) 2006 by Bruno Ribas <ribas@ufpr.br>
DIRTMP=$(mktemp -d)
VERSAO=$(cat VERSAO)
#arrumar versao
#$1 tipo de incremento
MAJOR=$(echo $VERSAO| cut -d'.' -f1)
MINOR=$(echo $VERSAO| cut -d'.' -f2)
REVISION=$(echo $VERSAO| cut -d'.' -f3)
case $1 in
Minor)
((MINOR++))
REVISION=0
;;
Major)
((MAJOR++))
MINOR=0
REVISION=0
;;
help)
echo "Uso: $0 Major|Minor|Revision"
echo ' Major - Altera versao Major'
echo ' Minor - Altera versao Minor'
exit
;;
*)
((REVISION++))
;;
esac
VERSAO="${MAJOR}.${MINOR}.${REVISION}"
echo "$VERSAO" > VERSAO
#Compila a documentacao do pacote no diretorio doc/
#cd doc/
#hevea -text *.tex
#hevea -text *.tex
#cd ../
cp -r pacote $DIRTMP
#Copia a documentacao compilada para dentro do pacote.
#cp doc/*.txt $DIRTMP/pacote/usr/share/doc/prd-*
cd $DIRTMP
find . -name ".svn" -exec rm -rf {} \; &>/dev/null
sed -i -e "s/Version:/Version: $VERSAO/" pacote/DEBIAN/control
fakeroot dpkg -b pacote .
cd -
cp $DIRTMP/*deb .
rm -rf $DIRTMP
# vim:tabstop=4:shiftwidth=4:encoding=iso-8859-1
Package: le-base
Version:
Maintainer: LE Maintainer <le-maintainer@c3sl.ufpr.br>
Architecture: i386
Section: main
Priority: important
Conflicts: vlc (<< 1.0.6-1ubuntu1.4userful), vlc (>> 1.0.6-1ubuntu1.4userful),
vlc-nox (<< 1.0.6-1ubuntu1.4userful), vlc-nox (>> 1.0.6-1ubuntu1.4userful),
pulseaudio
Depends: acidrip, acl, acpi, adept, apmd, amsn,
apport-qt, aptoncd, audacity, avidemux, binfmt-support, binutils,
binutils-static, blinken, bluez-utils, cabextract,
cryptsetup, cups-pdf, cupsddk, cupsys, cupsys-bsd, cupsys-client,
cupsys-common, cupsys-driver-gutenprint, deborphan, debtags, diff,
dmz-cursor-theme, edict, enscript, ethtool, fdutils, ffmpeg,
freeglut3, gcc, gettext, gnuchess,
gparted, gpgsm, gstreamer0.10-ffmpeg, gstreamer0.10-pitfdll,
gstreamer0.10-plugins-bad, gstreamer0.10-plugins-bad-multiverse,
gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-ugly-multiverse, kcm-gtk,
hal-cups-utils, iamerican, java-common, jfsutils,
kanagram, kanjidic, kdenlive,
kbruch, plasma-widget-kbstate, kcron, kde-l10n-ptbr,
kde-icons-nuvola, kdebluetooth,
kdenetwork-filesharing, kgeography, kgeography-data, khangman, khelpcenter,
klavaro, kinfocenter,
kolourpaint4, kommander-kde3, konq-plugins,
kuser, kwin, libxine1-ffmpeg,
language-pack-kde-en, m4, mdetect,
mii-diag, mktemp, mplayer-skins, libk3b6-extracodecs,
myspell-en-us, netcat, ntpdate, nvidia-kernel-common, odbcinst1debian1,
openssh-blacklist, openssh-server, pdfedit, perl-suid, pia, pinentry-qt,
planner, policykit, poster, powermanagement-interface, powernowd, psutils,
python-dev, python-numeric, python-qt3, python-sip4, qca-tls, reiserfsprogs,
ruby, samba, scantv, smbfs, speedcrunch, squeak-vm, squeak-image3.9, ssh,
sysvutils, ttf-arabeyes, ttf-malayalam-fonts, ttf-sil-andika, tuxmath,
tuxpaint, tuxpaint-stamps-default, unixodbc, unrar, util-linux-locales,
v4l-conf, vim, vorbis-tools, wamerican, wbritish, webcam, wvdial,
xawtv, xbase-clients, xfsprogs, xresprobe, xsane, xserver-xorg-video-amd,
xserver-xorg-video-dummy, xserver-xorg-video-glint, xserver-xorg-video-via,
xulrunner-1.9, xutils-dev, kubuntu-desktop, geogebra, mconverter, muan-pt,
vlc-nox (= 1.0.6-1ubuntu1.4userful), vlc (= 1.0.6-1ubuntu1.4userful), xournal,
kde-printer-applet, gstreamer0.10-alsa, kvkbd, libdvdread4, kate
Description: Base installation for Linux Educacional
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-base
#
# le-base is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# Function to set selections
setselections() {
selfile=$1
# Wait until it works
while ! dpkg --set-selections < ${selfile} &>/dev/null ; do
sleep 1
done
rm -f ${selfile}
}
# Hold VLC
sels=$(mktemp)
auxfile=$(mktemp)
dpkg --get-selections \* > ${sels}
awk '{if ($1 ~ /^vlc/) {print $1"\thold"} else { print $0} }' ${sels} >\
${auxfile}
rm -f ${sels}
setselections ${auxfile} & disown
# Set le-setbiostime to run during boot
update-rc.d le-setbiostime defaults 90
# Set the locale to Brazilian Portuguese
locale-gen pt_BR.UTF-8
update-locale LANG=pt_BR.UTF-8
# Update grub
update-grub
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-base
#
# le-base is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# The KDE default configuration path
KDEDEFAULT="/usr/share/kubuntu-default-settings/kde4-profile/default"
APPMERGED="/etc/xdg/menus/applications-merged"
APPPATH="/usr/share/applications"
# The autostart path
AUTOSTART="/usr/share/autostart"
# Files to divert
DIVERTS="
/etc/default/ntpdate \
/etc/default/grub \
/etc/update-motd.d/00-header \
/etc/update-motd.d/10-help-text \
/usr/lib/update-notifier/update-motd-cpu-checker \
/etc/security/limits.conf \
/etc/issue \
/etc/issue.net \
/etc/legal \
/etc/lsb-release \
/usr/share/locale-langpack/pt_BR/LC_MESSAGES/\
plasma_applet_networkmanagement.mo \
$KDEDEFAULT/share/config/kwalletrc \
$KDEDEFAULT/share/config/nepomukserverrc \
$AUTOSTART/kbluetooth.desktop \
$AUTOSTART/klipper.desktop \
$AUTOSTART/krunner.desktop \
$APPMERGED/wine.menu \
$APPPATH/kde/kresources.desktop \
$APPPATH/kde/kmdr-editor.desktop \
$APPPATH/wine-browsedrive.desktop \
/usr/share/applnk/.hidden/kmdr-executor.desktop
"
if [[ "$1" != "upgrade" ]]; then
for file in $DIVERTS; do
rm -f ${file}
dpkg-divert --package le-base --remove --rename \
--divert ${file}{.real,}
done
fi
# Unset le-setbiostime to not run during boot
update-rc.d -f le-setbiostime remove
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-base
#
# le-base is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# The KDE default configuration path
KDEDEFAULT="/usr/share/kubuntu-default-settings/kde4-profile/default"
APPMERGED="/etc/xdg/menus/applications-merged"
APPPATH="/usr/share/applications"
# The autostart path
AUTOSTART="/usr/share/autostart"
# Files to divert
DIVERTS="
/etc/default/ntpdate \
/etc/default/grub \
/etc/update-motd.d/00-header \
/etc/update-motd.d/10-help-text \
/usr/lib/update-notifier/update-motd-cpu-checker \
/etc/security/limits.conf \
/etc/issue \
/etc/issue.net \
/etc/legal \
/etc/lsb-release \
/usr/share/locale-langpack/pt_BR/LC_MESSAGES/\
plasma_applet_networkmanagement.mo \
$KDEDEFAULT/share/config/kwalletrc \
$KDEDEFAULT/share/config/nepomukserverrc \
$AUTOSTART/kbluetooth.desktop \
$AUTOSTART/klipper.desktop \
$AUTOSTART/krunner.desktop \
$APPMERGED/wine.menu \
$APPPATH/kde/kresources.desktop \
$APPPATH/kde/kmdr-editor.desktop \
$APPPATH/wine-browsedrive.desktop \
/usr/share/applnk/.hidden/kmdr-executor.desktop
"
# Divert files
for file in $DIVERTS; do
dpkg-divert --package le-base --add --rename \
--divert ${file}{.real,}
done
if ! groupadd -fr freeze; then
abort "Error while creating the group freeze."
fi
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`echo $(lsb_release -i -s -r 2> /dev/null || echo Debian)`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# This file was replaced by le-base.
# Do not use /etc/ntp.conf (use this file instead)
NTPDATE_USE_NTP_CONF=no
# Set the NTP server
NTPSERVERS="ntp.pop-pr.rnp.br"
# Pass -b to avoid using incremental adjustments
NTPOPTIONS="-b"
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-base
#
# le-base is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# Just set the BIOS time
hwclock -u --systohc
Linux Educacional 4.0 \n \l
Linux Educacional 4.0
The programs included with the Linux Educacional system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Linux Educacional comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
DISTRIB_ID="Linux Educacional"
DISTRIB_RELEASE=4.0
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Linux Educacional 4.0"
# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#<domain> <type> <item> <value>
#
#Where:
#<domain> can be:
# - an user name
# - a group name, with @group syntax
# - the wildcard *, for default entry
# - the wildcard %, can be also used with %group syntax,
# for maxlogin limit
#
#<type> can have the two values:
# - "soft" for enforcing the soft limits
# - "hard" for enforcing hard limits
#
#<item> can be one of the following:
# - core - limits the core file size (KB)
# - data - max data size (KB)
# - fsize - maximum filesize (KB)
# - memlock - max locked-in-memory address space (KB)
# - nofile - max number of open files
# - rss - max resident set size (KB)
# - stack - max stack size (KB)
# - cpu - max CPU time (MIN)
# - nproc - max number of processes
# - as - address space limit (KB)
# - maxlogins - max number of logins for this user
# - maxsyslogins - max number of logins on the system
# - priority - the priority to run user process with
# - locks - max number of file locks the user can hold
# - sigpending - max number of pending signals
# - msgqueue - max memory used by POSIX message queues (bytes)
# - nice - max nice priority allowed to raise to values: [-20, 19]
# - rtprio - max realtime priority
# - chroot - change root to directory (Debian-specific)
#
#<domain> <type> <item> <value>
#
# Limits used by Linux Educacional
* hard nproc 128
* hard priority 5
# End of file
[General]
AutomountEnabled=true
AutomountOnLogin=true
AutomountOnPlugin=true
AutomountUnknownDevices=true
[$Version]
update_info=kded.upd:kde3.0
[Module-device_automounter]
autoload=true
[Module-dnssdwatcher]
autoload=true
[Module-khotkeys]
autoload=true
[Module-ktimezoned]
autoload=true
[Module-nepomuksearchmodule]
autoload=false
[Module-networkmanagement]
autoload=true
[Module-networkstatus]
autoload=true
[Module-networkwatcher]
autoload=true
[Module-powerdevil]
autoload=true
[Module-randrmonitor]
autoload=true
[Module-remotedirnotify]
autoload=true
[Module-solidautoeject]
autoload=true
[Module-statusnotifierwatcher]
autoload=true
[DirWatch]
PollInterval=60000
[Auto Allow]
kdewallet=kwalletmanager
[Auto Deny]
kdewallet=
[Wallet]
Close When Idle=false
Close on Screensaver=false
Default Wallet=kdewallet
Enabled=false
First Use=false
Idle Timeout=10
Launch Manager=false
Leave Manager Open=false
Leave Open=true
Prompt on Open=true
Use One Wallet=true
[Basic Settings]
Configured repositories=main
Soprano Backend=virtuosobackend
Start Nepomuk=false
[Service-nepomukstrigiservice]
autostart=false
[Default Applications]
application/pdf=kde4/okular.desktop;
application/rss+xml=firefox.desktop;
application/rdf+xml=firefox.desktop;
application/vnd.mozilla.xul+xml=firefox.desktop;
application/xhtml+xml=firefox.desktop;
application/xml=firefox.desktop;
text/html=firefox.desktop;
text/xml=firefox.desktop;
image/bmp=kde4/gwenview.desktop;
image/gif=kde4/gwenview.desktop;
image/jpeg=kde4/gwenview.desktop;
image/png=kde4/gwenview.desktop;
image/tiff=kde4/gwenview.desktop;
image/x-bmp=kde4/gwenview.desktop;
image/x-eps=kde4/gwenview.desktop;
image/x-ico=kde4/gwenview.desktop;
image/x-pcx=kde4/gwenview.desktop;
image/x-portable-bitmap=kde4/gwenview.desktop;
image/x-portable-greymap=kde4/gwenview.desktop;
image/x-portable-pixmap=kde4/gwenview.desktop;
image/x-targa=kde4/gwenview.desktop;
image/x-xbitmap=kde4/gwenview.desktop;
image/x-xbm=kde4/gwenview.desktop;
image/x-xpixmap=kde4/gwenview.desktop;
image/x-xpm=kde4/gwenview.desktop;
audio/aac=kde4/amarok.desktop;
audio/flac=kde4/amarok.desktop;
audio/mp4=kde4/amarok.desktop;
audio/mpeg=kde4/amarok.desktop;
audio/mpegurl=kde4/amarok.desktop;
audio/vnd.rn-realaudio=kde4/amarok.desktop;
audio/vorbis=kde4/amarok.desktop;
audio/x-flac=kde4/amarok.desktop;
audio/x-mp3=kde4/amarok.desktop;
audio/x-mpegurl=kde4/amarok.desktop;
audio/x-ms-wma=kde4/amarok.desktop;
audio/x-musepack=kde4/amarok.desktop;
audio/x-oggflac=kde4/amarok.desktop;
audio/x-pn-realaudio=kde4/amarok.desktop;
audio/x-scpls=kde4/amarok.desktop;
audio/x-speex=kde4/amarok.desktop;
audio/x-vorbis=kde4/amarok.desktop;
audio/x-wav=kde4/amarok.desktop;
video/x-ms-asf=kde4/amarok.desktop;
application/x-ogm-audio=kde4/amarok.desktop;
audio/x-vorbis+ogg=kde4/amarok.desktop;
application/ogg=kde4/amarok.desktop;
audio/ogg=kde4/amarok.desktop;
x-content/audio-player=kde4/amarok.desktop;
x-content/audio-cdda=kde4/amarok.desktop;
video/dv=vlc.deskop;
video/mpeg =vlc.desktop;
video/x-mpeg=vlc.desktop;
video/msvideo=vlc.desktop;
video/quicktime=vlc.desktop;
video/x-anim=vlc.desktop;
video/x-avi=vlc.desktop;
video/x-ms-asf=vlc.desktop;
video/x-ms-wmv=vlc.desktop;
video/x-msvideo=vlc.desktop;
video/x-nsv=vlc.desktop;
video/x-flc=vlc.desktop;
video/x-fli=vlc.desktop;
video/vnd.rn-realvideo=vlc.desktop;
video/mp4=vlc.desktop;
video/mp4v-es=vlc.desktop;
video/x-flv=vlc.desktop;
[Added Associations]
application/xhtml+xml=firefox.desktop;
application/xml=firefox.desktop;
application/vnd.mozilla.xul+xml=firefox.desktop;
application/rss+xml=firefox.desktop;
application/rdf+xml=firefox.desktop;
text/html=firefox.desktop;
text/xml=firefox.desktop;
image/bmp=gwenview.desktop;
image/gif=gwenview.desktop;
image/jpeg=gwenview.desktop;
image/png=gwenview.desktop;
image/tiff=gwenview.desktop;
image/x-bmp=gwenview.desktop;
image/x-eps=gwenview.desktop;
image/x-ico=gwenview.desktop;
image/x-pcx=gwenview.desktop;
image/x-portable-bitmap=gwenview.desktop;
image/x-portable-greymap=gwenview.desktop;
image/x-portable-pixmap=gwenview.desktop;
image/x-targa=gwenview.desktop;
image/x-xbitmap=gwenview.desktop;
image/x-xbm=gwenview.desktop;
image/x-xpixmap=gwenview.desktop;
image/x-xpm=gwenview.desktop;
audio/aac=vlc.desktop;
audio/mp4=vlc.desktop;
audio/mpeg=vlc.desktop;
audio/mpegurl=vlc.desktop;
audio/vnd.rn-realaudio=vlc.desktop;
audio/vorbis=vlc.desktop;
audio/x-flac=vlc.desktop;
audio/x-mp3=vlc.desktop;
audio/x-mpegurl=vlc.desktop;
audio/x-ms-wma=vlc.desktop;
audio/x-musepack=vlc.desktop;
audio/x-oggflac=vlc.desktop;
audio/x-pn-realaudio=vlc.desktop;
audio/x-scpls=vlc.desktop;
audio/x-speex=vlc.desktop;
audio/x-vorbis=vlc.desktop;
audio/x-wav=vlc.desktop;
video/x-ms-asf=vlc.desktop;
application/x-ogm-audio=vlc.desktop;
audio/x-vorbis+ogg=vlc.desktop;
application/ogg=vlc.desktop;
audio/ogg=vlc.desktop;
x-content/audio-player=vlc.desktop;
x-content/audio-cdda=vlc.desktop;
video/dv=vlc.deskop;
video/mpeg =vlc.desktop;
video/x-mpeg=vlc.desktop;
video/msvideo=vlc.desktop;
video/quicktime=vlc.desktop;
video/x-anim=vlc.desktop;
video/x-avi=vlc.desktop;
video/x-ms-asf=vlc.desktop;
video/x-ms-wmv=vlc.desktop;
video/x-msvideo=vlc.desktop;
video/x-nsv=vlc.desktop;
video/x-flc=vlc.desktop;
video/x-fli=vlc.desktop;
video/vnd.rn-realvideo=vlc.desktop;
video/mp4=vlc.desktop;
video/mp4v-es=vlc.desktop;
video/x-flv=vlc.desktop;
#!/bin/sh
uname -srn
printf "%s\n" "$(lsb_release -s -d)"
#!/bin/sh
echo ""
echo "Bem-vindo ao Linux Educacional!"
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
<Menu>
<Name>Applications</Name>
<Menu>
<Name>wine-wine</Name>
<Directory>le-wine.directory</Directory>
<Include>
<Category>Wine</Category>
</Include>
<Menu>
<Name>wine-Programs</Name>
<Directory>wine-Programs.directory</Directory>
<Include>
<Category>Wine-Programs</Category>
</Include>
<Menu>
<Name>wine-Programs-Accessories</Name>
<Directory>wine-Programs-Accessories.directory</Directory>
<Include>
<Category>Wine-Programs-Accessories</Category>
</Include>
</Menu>
</Menu>
</Menu>
</Menu>
#!/bin/bash
# Copyright (C) 2004-2010 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of le-base
#
# le-base is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# This script runs squeak using the default image
# Paths
IMAGE=/usr/share/squeak/squeak.image.gz
CHANGES=/usr/share/squeak/squeak.changes.gz
SOURCES=/usr/share/squeak/SqueakV39.sources
# Paths relatives to ${HOME}
HOMESQUEAK=${HOME}/.squeak
HOMEIMAGE=${HOMESQUEAK}/squeak.image
HOMECHANGES=${HOMESQUEAK}/squeak.changes
HOMESOURCES=${HOMESQUEAK}/SqueakV39.sources
# If $HOMEIMAGE don't exist, create it
if ! test -f ${HOMEIMAGE} ; then
mkdir -p ${HOMESQUEAK}
gunzip -c ${IMAGE} > ${HOMEIMAGE}
gunzip -c ${CHANGES} > ${HOMECHANGES}
ln -s ${SOURCES} ${HOMESOURCES}
fi
/usr/bin/squeak ${HOMEIMAGE}
#!/bin/sh -e
#
# check if the BIOS settings need attention