23 lines
439 B
Bash
23 lines
439 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "🚀 Starte Bootstrap Installation..."
|
|
|
|
cd /tmp
|
|
|
|
REPO_URL_HTTP="http://192.168.178.5:3000/kai/workstation-config.git"
|
|
TARGET="$HOME/workstation-config"
|
|
|
|
if [ -d "$TARGET/.git" ]; then
|
|
echo "🔄 Repo update..."
|
|
git -C "$TARGET" pull
|
|
else
|
|
echo "📥 Klone Repo..."
|
|
git clone "$REPO_URL_HTTP" "$TARGET"
|
|
fi
|
|
|
|
echo "📦 Starte Modul Installation..."
|
|
|
|
cd "$TARGET/temp-cleanup"
|
|
bash install.sh |