⚡️ add shfmt
This commit is contained in:
parent
a10ed69ad7
commit
b9490db2af
|
@ -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
|
||||||
|
|
||||||
|
#installation de shfmt pour mettre en forme les scripts bash.
|
||||||
|
|
||||||
|
sudo dnf install shfmt -y
|
||||||
|
|
||||||
if [ ! -f "/usr/bin/shellcheck" ]; then
|
if [ ! -f "/usr/bin/shellcheck" ]; then
|
||||||
echo -e "${vert}ShellCheck n'est pas installé voulez-vous l'installer?${neutre}[O/n]"
|
echo -e "${vert}ShellCheck n'est pas installé voulez-vous l'installer?${neutre}[O/n]"
|
||||||
|
|
Loading…
Reference in New Issue