divers/post-install-linux-mint.sh
2022-05-23 08:18:28 +02:00

24 lines
885 B
Bash
Executable File

#! /bin/bash
# post-install-linux-mint.sh
# by Djan GICQUEL
# Licence : CC SA-NC
if [ $(whoami) = "root" ];then
cat << "EOF" > /etc/apt/sources.list.d/official-package-repositories.list
deb http://mirror6.layerjet.com/linuxmint/packages uma main upstream import backport
deb http://miroir.univ-lorraine.fr/ubuntu focal main restricted universe multiverse
deb http://miroir.univ-lorraine.fr/ubuntu focal-updates main restricted universe multiverse
deb http://miroir.univ-lorraine.fr/ubuntu focal-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ focal partner
EOF
apt-get update
apt-get -y remove --purge timeshift warpinator hexchat rhythmbox* hypnotix celluloid
apt-get -y install vlc gimp firefox-locale-fr
else
echo "Executer ce script en root."
fi