strict comparison -
This commit is contained in:
@@ -209,11 +209,12 @@ ffmpeg_timelapse() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
update_.g() {
|
update_.g() {
|
||||||
local RES=$(.g pull)
|
local RES=$(.g pull 2>&1)
|
||||||
|
|
||||||
if [[ $RES != "Already up-to-date." ]]; then
|
if [[ ! ($RES =~ "Already up-to-date") ]]; then
|
||||||
echo "Updated .g"
|
echo "Updated .g"
|
||||||
echo $RES
|
echo $RES
|
||||||
echo "======"
|
echo "======"
|
||||||
|
echo
|
||||||
fi
|
fi
|
||||||
}
|
}
|
Reference in New Issue
Block a user