More logs

parent 668ad608
......@@ -20,6 +20,11 @@ logfile="/var/log/`basename $0`_`date +%Y%m%d-%H%M`"
exec &> >(tee -a "$logfile")
DIR=`dirname $0`
run_script(){
echo "Running $1"
$DIR/$1
echo "Done $1 $?"
}
if [ ! -z "$1" ] && [ "$1" == "apt" ]
then
......@@ -32,21 +37,21 @@ cp "$DIR/fond admin.png" /home/administrateur/Documents/
cp $DIR/conky.conf /etc/conky/
cp $DIR/session.sh /usr/local/bin/
$DIR/add_session_script.sh
$DIR/create_cifs_mounts.sh
$DIR/set_mime_apps.sh
$DIR/set_screens.sh
$DIR/install_print_drivers.sh
$DIR/fix_libreoffice.sh
$DIR/install_vnc.sh
$DIR/install_conky.sh
$DIR/upgrade_repository.sh
$DIR/fix_xscreensaver.sh
$DIR/fix_pcmanfm.sh
run_script add_session_script.sh
run_script create_cifs_mounts.sh
run_script set_mime_apps.sh
run_script set_screens.sh
run_script install_print_drivers.sh
run_script fix_libreoffice.sh
run_script install_vnc.sh
run_script install_conky.sh
run_script upgrade_repository.sh
run_script fix_xscreensaver.sh
run_script fix_pcmanfm.sh
if [ ! -e /etc/primtux-version ]
then
$DIR/migrate_to_primtux4.sh
run_script migrate_to_primtux4.sh
fi
# Install missing libreoffice gtk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment