fix update script

This commit is contained in:
wh1te909 2020-05-11 21:06:18 +00:00
parent c29ad4897c
commit 0b34726462
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ git clean -df
cp /home/${USER}/rmm/_modules/* /srv/salt/_modules/ cp /home/${USER}/rmm/_modules/* /srv/salt/_modules/
cp /home/${USER}/rmm/scripts/* /srv/salt/scripts/ cp /home/${USER}/rmm/scripts/* /srv/salt/scripts/
rm -rf /home/${USER}/rmm/api/env rm -rf /home/${USER}/rmm/api/env
cd /home/${USER}/rmm/api
python3.7 -m venv env python3.7 -m venv env
source /home/${USER}/rmm/api/env/bin/activate source /home/${USER}/rmm/api/env/bin/activate
cd /home/${USER}/rmm/api/tacticalrmm cd /home/${USER}/rmm/api/tacticalrmm