change git urls back

This commit is contained in:
sadnub 2022-01-21 23:27:14 -05:00
parent 734177fecc
commit 39e31a1039
3 changed files with 7 additions and 4 deletions

View File

@ -237,7 +237,7 @@ sudo mkdir /rmm
sudo chown ${USER}:${USER} /rmm sudo chown ${USER}:${USER} /rmm
sudo mkdir -p /var/log/celery sudo mkdir -p /var/log/celery
sudo chown ${USER}:${USER} /var/log/celery sudo chown ${USER}:${USER} /var/log/celery
git clone https://github.com/wh1te909/tacticalrmm.git /rmm/ git clone https://github.com/sadnub/tacticalrmm.git /rmm/
cd /rmm cd /rmm
git config user.email "admin@example.com" git config user.email "admin@example.com"
git config user.name "Bob" git config user.name "Bob"
@ -245,10 +245,11 @@ git checkout master
sudo mkdir /community-scripts sudo mkdir /community-scripts
sudo chown ${USER}:${USER} /community-scripts sudo chown ${USER}:${USER} /community-scripts
git clone https://github.com/wh1te909/tacticalrmm.git /community-scripts/ git clone https://github.com/amidaware/community-scripts.git /community-scripts/
cd /community-scripts cd /community-scripts
git config user.email "admin@example.com" git config user.email "admin@example.com"
git config user.name "Bob" git config user.name "Bob"
git checkout main
print_green 'Downloading NATS' print_green 'Downloading NATS'

View File

@ -220,10 +220,11 @@ git checkout master
sudo mkdir /community-scripts sudo mkdir /community-scripts
sudo chown ${USER}:${USER} /community-scripts sudo chown ${USER}:${USER} /community-scripts
git clone https://github.com/wh1te909/tacticalrmm.git /community-scripts/ git clone https://github.com/amidaware/community-scripts.git /community-scripts/
cd /community-scripts cd /community-scripts
git config user.email "admin@example.com" git config user.email "admin@example.com"
git config user.name "Bob" git config user.name "Bob"
git checkout main
print_green 'Restoring NATS' print_green 'Restoring NATS'

View File

@ -240,7 +240,7 @@ git pull
if [[ ! -d /community-scripts ]]; then if [[ ! -d /community-scripts ]]; then
sudo mkdir /community-scripts sudo mkdir /community-scripts
sudo chown ${USER}:${USER} /community-scripts sudo chown ${USER}:${USER} /community-scripts
git clone https://github.com/wh1te909/tacticalrmm.git /community-scripts/ git clone https://github.com/amidaware/community-scripts.git /community-scripts/
cd /community-scripts cd /community-scripts
git config user.email "admin@example.com" git config user.email "admin@example.com"
git config user.name "Bob" git config user.name "Bob"
@ -249,6 +249,7 @@ else
git config user.email "admin@example.com" git config user.email "admin@example.com"
git config user.name "Bob" git config user.name "Bob"
git fetch git fetch
git checkout main
git reset --hard FETCH_HEAD git reset --hard FETCH_HEAD
git clean -df git clean -df
git pull git pull