change source of installation from github to own repo

This commit is contained in:
Hesabix 2025-07-11 10:30:33 +00:00
parent 82740193cb
commit 0d18762f1e

View file

@ -791,11 +791,11 @@ install_software() {
# Check if remote origin exists
if ! git remote get-url origin >/dev/null 2>&1; then
# Add remote repository if it doesn't exist
git remote add origin https://github.com/morrning/hesabixCore.git || \
git remote add origin https://source.hesabix.ir/morrning/hesabixCore.git || \
handle_error "Failed to add remote repository"
else
# Update remote URL if it exists
git remote set-url origin https://github.com/morrning/hesabixCore.git || \
git remote set-url origin https://source.hesabix.ir/morrning/hesabixCore.git || \
handle_error "Failed to update remote repository"
fi