ajout de gestinnaire de mot de passe et VSCodium

This commit is contained in:
JohnAOSC 2022-09-14 11:08:54 +02:00
parent 134dbc4bb2
commit 702c2282c0
2 changed files with 38 additions and 1 deletions

View File

@ -1,2 +1,2 @@
# fedorapostinstall # fedorapostinstall
this is a post install script for fedora this is a post install script for fedora

View File

@ -30,3 +30,40 @@ else
echo -e "${rouge}ShellCheck est déja installé ${neutre}" echo -e "${rouge}ShellCheck est déja installé ${neutre}"
echo "le script continue la vérification et l'installation des programmes" echo "le script continue la vérification et l'installation des programmes"
fi fi
if [ ! -f "/usr/bin/codium" ]; then
echo -e "${bleu}ont install vscodium ?${neutre}"
read -r codium
case $codium in
N | n)
echo "VSCodium ne sera pas installé, tu ne sera pas un programmeur jeune padawan"
echo "le script continue la vérification et l'installation des programmes"
;;
O | o |*)
echo -e "${jaune}j'installe VSCodium, tu sera un programmeur OpenSource Luke"
sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=download.vscodium.com\nbaseurl=https://download.vscodium.com/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg\nmetadata_expire=1h" | sudo tee -a /etc/yum.repos.d/vscodium.repo
sudo dnf install codium -y
;;
esac
else
echo -e "${rouge}VSCodium est déjà installé, tu es un grand monsieur ${neutre}"
echo "le script continue la vérification et l'installation des programmes"
fi
if [ ! -f "/usr/bin/keepassxc"]; then
echo -e "${vert}tu veux installer Keepassxc? ${neutre}"
read -r $keepassxc in
N | n)
echo "KeepassXC ne sera pas installé, honte à toi"
echo "le script continue la vérification et l'installation des programmes"
;;
O | o |*)
echo -e "${bleu}Installation de KeepassXC,la force Luke ${neutre}"
sudo dnf install keepassxc -y
;;
esac
else
echo -e "${rouge}KeepassXC est déjà installé, la force est déjà en toi ...${neutre}"
echo "Le script continue la vérification et l'installation des programmes"
fi