~proycon/dotfiles

80bd44a24f794d5ecd6518270cc2f4037789434c — Maarten van Gompel 3 months ago 006f4a2
ignore trigger file when computing last update
1 files changed, 5 insertions(+), 0 deletions(-)

M homestatus.sh
M homestatus.sh => homestatus.sh +5 -0
@@ 189,6 189,11 @@ printstategroup() {

getlastupdate() {
    for filename in $1/*; do
        case $filename in 
            *trigger)
                continue #ignore
                ;;
        esac
        if [ -f "$filename" ]; then
            TIMESTAMP=$(stat -c %Y "$filename" | tr -d '\n')
            if [ $TIMESTAMP -gt $LASTUPDATE ]; then