#!/bin/bash
# Launch in current folder with sh preinstall_naga.sh
# Preinstall from custom_xub_2404.iso
# Create folders in French
mkdir -p $HOME/Images/ $HOME/Bureau/ $HOME/Téléchargements/ $HOME/Modèles/ $HOME/Public/ $HOME/Documents/ $HOME/Musique/ $HOME/Vidéos
# Install Config Thunar folders names
cp -a ./config/french/user-dirs.dirs $HOME/.config
# Move installation folder
mv $HOME/Desktop/installation/ $(xdg-user-dir DESKTOP)/installation/
# sleep
sleep 5
# Delete folders in English / OK
rm -r $HOME/Desktop/ $HOME/Downloads/ $HOME/Templates/ $HOME/Music/ $HOME/Videos/ $HOME/Pictures/
# sleep
sleep 5
# reboot
pkill -KILL -u `whoami`
