diff --git a/scripts/devrepo b/scripts/devrepo index 79d69edc5..4524291ef 100755 --- a/scripts/devrepo +++ b/scripts/devrepo @@ -4,5 +4,6 @@ if [ -d /etc/epicyon ]; then else cd /opt/epicyon || exit 0 fi +git stash git remote set-url origin https://gitlab.com/bashrc2/epicyon.git git checkout main diff --git a/scripts/restart b/scripts/restart index b6615bd60..b620e74e1 100755 --- a/scripts/restart +++ b/scripts/restart @@ -1,5 +1,6 @@ #!/bin/bash +git stash git pull chown -R epicyon:epicyon * chmod 644 *.py -systemctl restart epicyon \ No newline at end of file +systemctl restart epicyon