10 lines
155 B
Bash
10 lines
155 B
Bash
#!/bin/bash
|
|
|
|
state=$(cat ~/.config/SDGupdate.state)
|
|
|
|
if [ "$state" == "on" ]; then
|
|
cd /home/$(whoami)/SDG-OS
|
|
git pull
|
|
mmsg -d reload-config
|
|
fi
|