17 lines
458 B
Bash
Executable File
17 lines
458 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Chemin de base : le dossier où se trouve ce script
|
|
BASE_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
echo "[+] Recherche et exécution des install.sh..."
|
|
|
|
# Boucle récursive sur tous les fichiers install.sh
|
|
find "$BASE_DIR" -type f -name "install.sh" ! -path "$BASE_DIR/install.sh" | while read -r script; do
|
|
echo "[+] Lancement : $script"
|
|
chmod +x "$script"
|
|
"$script"
|
|
done
|
|
|
|
echo "[✓] Tous les install.sh ont été exécutés."
|