🚀 add Nitrokey-app
This commit is contained in:
parent
4785f5606d
commit
1cf781891d
|
@ -19,6 +19,9 @@ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-rele
|
||||||
echo -e "${jaune}Installation du depot RPMfusion Non-Free ${neutre}"
|
echo -e "${jaune}Installation du depot RPMfusion Non-Free ${neutre}"
|
||||||
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||||
|
|
||||||
|
echo -e "${vert}Installation du depot Non-free tainted ${neutre}"
|
||||||
|
sudo dnf install rpmfusion-nonfree-release-tainted
|
||||||
|
|
||||||
#installation de shfmt pour mettre en forme les scripts bash.
|
#installation de shfmt pour mettre en forme les scripts bash.
|
||||||
|
|
||||||
sudo dnf install shfmt -y
|
sudo dnf install shfmt -y
|
||||||
|
@ -63,7 +66,7 @@ fi
|
||||||
|
|
||||||
if [ ! -f "/usr/bin/keepassxc" ]; then
|
if [ ! -f "/usr/bin/keepassxc" ]; then
|
||||||
echo -e "${vert}tu veux installer Keepassxc? ${neutre}"
|
echo -e "${vert}tu veux installer Keepassxc? ${neutre}"
|
||||||
read -r "$keepassxc"
|
read -r keepassxc
|
||||||
case $keepassxc in
|
case $keepassxc in
|
||||||
N | n)
|
N | n)
|
||||||
echo "KeepassXC ne sera pas installé, honte à toi"
|
echo "KeepassXC ne sera pas installé, honte à toi"
|
||||||
|
@ -104,7 +107,7 @@ fi
|
||||||
|
|
||||||
if [ ! -f "/usr/lib64/discord" ]; then
|
if [ ! -f "/usr/lib64/discord" ]; then
|
||||||
echo -e "${jaune}Veux-tu installer Discord? ${neutre}"
|
echo -e "${jaune}Veux-tu installer Discord? ${neutre}"
|
||||||
read -r "$discord"
|
read -r discord
|
||||||
case $discord in
|
case $discord in
|
||||||
N | n)
|
N | n)
|
||||||
echo "Discord ne sera pas installé"
|
echo "Discord ne sera pas installé"
|
||||||
|
@ -119,3 +122,20 @@ else
|
||||||
echo -e "${rouge}Discord est déja installé, As-tu déja rejoins l'APDM ?"
|
echo -e "${rouge}Discord est déja installé, As-tu déja rejoins l'APDM ?"
|
||||||
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/nitrokey-app" ]; then
|
||||||
|
echo -e "${vert}Tu veux installer Nitrokey ?${neutre}"
|
||||||
|
read -r nitrokey
|
||||||
|
case $nitrokey in
|
||||||
|
N | n)
|
||||||
|
echo "Nitrokey ne sera pas installé tampis pour la sécurité de toute façons c'est surcoté ^^"
|
||||||
|
echo "le script continue la vérification et l'installation des programmes"
|
||||||
|
;;
|
||||||
|
O | o | *)
|
||||||
|
echo -e "${jaune}Installation de Nitrokey-app${neutre}"
|
||||||
|
sudo dnf install nitrokey-app -y
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
echo -e "${rouge}Nitrokey-app est déja installé, As-tu déja créer ta clé gnupg ?"
|
||||||
|
echo "Le script continue la vérification et l'installation des programmes"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue