Change directory before restart

main
bashrc 2026-06-17 20:24:13 +01:00
parent 347f77fe71
commit ed795040c7
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
#!/bin/bash #!/bin/bash
if [ -d /etc/epicyon ]; then
cd /etc/epicyon || exit 0
else
cd /opt/epicyon || exit 0
fi
git stash git stash
git pull git pull
chown -R epicyon:epicyon * chown -R epicyon:epicyon *