strict comparison -
This commit is contained in:
@@ -209,11 +209,12 @@ ffmpeg_timelapse() {
|
||||
}
|
||||
|
||||
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 $RES
|
||||
echo "======"
|
||||
echo
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user