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