diff --git a/scripts/restart b/scripts/restart index c53f8e0a4..52918131f 100755 --- a/scripts/restart +++ b/scripts/restart @@ -1,4 +1,9 @@ #!/bin/bash +if [ -d /etc/epicyon ]; then + cd /etc/epicyon || exit 0 +else + cd /opt/epicyon || exit 0 +fi git stash git pull chown -R epicyon:epicyon *