Add install/index.sh

This commit is contained in:
2026-02-20 12:13:33 +01:00
parent b1717ae087
commit c74c9bd73e

21
install/index.sh Normal file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
DEFAULT_REPO="https://git.de-roo.org/ben/Finalpychat.git"
echo "dankje voor het gebruiken van bens pychat!"
REPO_URL="${1:-$DEFAULT_REPO}"
DIR_NAME="${2:-}"
if [ -z "$REPO_URL" ]; then
echo "Error: Geen Git repository opgegeven."
exit 1
fi
if [ -z "$DIR_NAME" ]; then
git clone "$REPO_URL"
else
git clone "$REPO_URL" "$DIR_NAME"
fi
echo "Klaar."