mirror of https://gitlab.com/bashrc2/epicyon
Change directory before restart
parent
347f77fe71
commit
ed795040c7
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Reference in New Issue