Merge pull request #1 from BigoudOps/main

🎨 fix syntax for ShellCheck
This commit is contained in:
John Allen 2022-09-19 09:08:33 +02:00 committed by GitHub
commit 6616895c72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

7
postinstall.sh Normal file → Executable file
View File

@ -23,7 +23,7 @@ if [ ! -f "/usr/bin/shellcheck" ]; then
;;
O | o | *)
echo -e "${vert}installation de ShellCheck ${neutre}"
sudo dnf install -y shellcheck
sudo dnf install -y ShellCheck
;;
esac
else
@ -51,9 +51,10 @@ else
echo "le script continue la vérification et l'installation des programmes"
fi
if [ ! -f "/usr/bin/keepassxc"]; then
if [ ! -f "/usr/bin/keepassxc" ]; then
echo -e "${vert}tu veux installer Keepassxc? ${neutre}"
read -r $keepassxc in
read -r "$keepassxc"
case $keepassxc in
N | n)
echo "KeepassXC ne sera pas installé, honte à toi"
echo "le script continue la vérification et l'installation des programmes"