add home to repo
This commit is contained in:
16
home/install.sh
Executable file
16
home/install.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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."
|
||||
Reference in New Issue
Block a user