Skip to content
Snippets Groups Projects
Commit d5f477af authored by 42loop's avatar 42loop
Browse files

began autoupdate function

parent 78c81429
Branches
No related tags found
No related merge requests found
#!/bin/bash
res=$(git pull)
#echo $res
ok="up-to-date"
if [[ $res = *"up-to-date"* ]]; then
echo "It's up to date !"
else
echo "We'll have to restart !"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment