Skip to content

Commit

Permalink
remove debug stuff
Browse files Browse the repository at this point in the history
(cherry picked from commit ac74d2b)
  • Loading branch information
wh1te909 committed Nov 2, 2023
1 parent 9ee2464 commit 6db6eb7
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#!/usr/bin/env bash

REPO=amidaware
BRANCH=master
while [[ $# -gt 0 ]]; do
case $1 in
-r | --repo)
REPO="$2"
shift # past argument
shift # past value
;;
-b | --branch)
BRANCH="$2"
shift # past argument
shift # past value
;;
esac
done

SCRIPT_VERSION="79"
SCRIPT_URL="https://raw.githubusercontent.com/${REPO}/tacticalrmm/${BRANCH}/install.sh"
SCRIPT_VERSION="80"
SCRIPT_URL="https://raw.githubusercontent.com/amidaware/tacticalrmm/master/install.sh"

sudo apt install -y curl wget dirmngr gnupg lsb-release ca-certificates

Expand Down Expand Up @@ -338,11 +321,11 @@ sudo mkdir /rmm
sudo chown ${USER}:${USER} /rmm
sudo mkdir -p /var/log/celery
sudo chown ${USER}:${USER} /var/log/celery
git clone https://github.com/${REPO}/tacticalrmm.git /rmm/
git clone https://github.com/amidaware/tacticalrmm.git /rmm/
cd /rmm
git config user.email "[email protected]"
git config user.name "Bob"
git checkout ${BRANCH}
git checkout master

sudo mkdir -p ${SCRIPTS_DIR}
sudo chown ${USER}:${USER} ${SCRIPTS_DIR}
Expand Down

0 comments on commit 6db6eb7

Please sign in to comment.