minor: git pull in run.sh
This commit is contained in:
parent
a9d17c59f8
commit
97edf6e165
2
run.sh
2
run.sh
@ -4,6 +4,8 @@ scriptdir=$(dirname $(realpath $0))
|
|||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
|
|
||||||
|
cd $scriptdir && git pull
|
||||||
|
|
||||||
if [ "$(id -u)" -eq 0 ]; then
|
if [ "$(id -u)" -eq 0 ]; then
|
||||||
echo "Running in root mode."
|
echo "Running in root mode."
|
||||||
$scriptdir/init_root.sh
|
$scriptdir/init_root.sh
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user