change source of installation from github to own repo
This commit is contained in:
parent
82740193cb
commit
0d18762f1e
|
@ -791,11 +791,11 @@ install_software() {
|
||||||
# Check if remote origin exists
|
# Check if remote origin exists
|
||||||
if ! git remote get-url origin >/dev/null 2>&1; then
|
if ! git remote get-url origin >/dev/null 2>&1; then
|
||||||
# Add remote repository if it doesn't exist
|
# 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"
|
handle_error "Failed to add remote repository"
|
||||||
else
|
else
|
||||||
# Update remote URL if it exists
|
# 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"
|
handle_error "Failed to update remote repository"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue