️ add shfmt

This commit is contained in:
Bigoudops 2022-11-25 13:35:39 +01:00
parent a10ed69ad7
commit b9490db2af
1 changed files with 17 additions and 14 deletions

View File

@ -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}"
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
#installation de shfmt pour mettre en forme les scripts bash.
sudo dnf install shfmt -y
if [ ! -f "/usr/bin/shellcheck" ]; then
echo -e "${vert}ShellCheck n'est pas installé voulez-vous l'installer?${neutre}[O/n]"