Files
ben.de-roo.org/install/script.sh
2026-02-20 12:16:26 +01:00

20 lines
365 B
Bash

#!/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