Muudatused
Allikas: Pingviini viki
Esimene nädalapäev korda, uued ID-kaardi automaatpaigalduse paketid
## Copyright (C) 2010 Alin Andrei, http://www.webupd8.org
##
## Muutnud Tramm 17.05.10 http://viki.pingviin.org/Kasutaja:Tramm
## Muutnud A.Mägi 06.05.10
## Eemaldatud lähtekoodi ja backports varamud ning arendusvahendid,
then
sudo -u gdm gconftool-2 --set --type boolean /apps/gdm/simple-greeter/disable_user_list true
elif [ "$choicee" = "Change Gnome Calendar first day of the week from Sunday to Monday" ];
then
timee=$(cat /etc/default/locale | grep "LC_TIME")
if [ ! $timee ]; then
timeee="et_EE.UTF-8"
echo LC_TIME=\"$timeee.UTF-8\" | sudo tee -a /etc/default/locale > /dev/null
sed -r -i -e "s/weekday 1/weekday 2/" /usr/share/i18n/locales/et_EE
locale-gen
else
echo "You already have custom values for LC_TIME, skipping this tweak"
fi
elif [ "$choicee" = "Remove the ubuntu-docs package (frees up 252MB)" ];
then
rm -r /tmp/*.exe
rm /tmp/fontconfig.tbz
# A. Mägi lisndus aadressilt http://ubuntu.pingviin.org/1004kohandamine.html
sudo apt-get install ttf-mscorefonts-installer
echo "Sharp fonts installation finished... Please remember to logout and login again"
elif [ "$choicee" = "Fix 'apt-get update' delay for Google repository" ];
sleep 1 | cp /etc/apt/sources.list /etc/apt/sources.list_medibuntu; cat /etc/apt/sources.list_medibuntu | sed -e '/.*medibuntu.*lucid free non-free/d' > /etc/apt/sources.list; sleep 1
sleep 1; cp /etc/apt/sources.list /etc/apt/sources.list_empty; cat /etc/apt/sources.list_empty | sed '/^$/d' > /etc/apt/sources.list; sleep 1; rm /etc/apt/sources.list_empty #remove empty lines in sources.list
ARRAY=( 'deb http://archive.ubuntu.com/ubuntu lucid main restricted universe multiverse' 'deb http://archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse' 'deb http://archive.canonical.com/ubuntu lucid partner' 'deb http://security.ubuntu.com/ubuntu lucid-security main restricted universe multiverse' $medibuntuserver 'deb http://archive.getdeb.net/ubuntu lucid-getdeb apps' 'deb http://ppa.launchpad.net/boamaod/ubuntu-idkaart/ubuntu lucid main' )
ELEMENTS=${#ARRAY[@]}
#sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
sudo apt-get update
fi
elif [ "$choice" = "Estonian ID-card support" ];
then
elif [ "$choice" = "Avant-window-navigator" ];
then
sudo apt-get clean
sudo apt-get autoclean
# http://ubuntu.pingviin.org/1004kohandamine.html
killall gnome-panel
#notices
if [[ "$choicee" = "Change Gnome Calendar first day of the week from Sunday to Monday" || "$choicee" = "Install and configure sharp fonts" ]]; then
#added dropbox repository and installation
#added disable GDM login user list
#added build-essential, subversion, git, etc</source>