From 44ba526405fb7ca8eb0a641bd7a6d046450ec174 Mon Sep 17 00:00:00 2001 From: fruchti Date: Mon, 21 Oct 2019 12:20:04 +0200 Subject: [PATCH] Remove update flag file --- transcode.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/transcode.sh b/transcode.sh index d571a48..c58cef5 100644 --- a/transcode.sh +++ b/transcode.sh @@ -1,14 +1,8 @@ #!/bin/sh output_owner=fruchti:data -updateflagfile=/flags/mp3-transcode lockfile=/flags/mp3-transcode-lock -if [ ! -f "$updateflagfile" ] && [ ! "$1" = "-f" ] ; then - echo "No update needed. Exiting." - exit -fi - if [ -f "$lockfile" ] ; then echo "Another instance is already running. Exiting." echo "If you are certain this is the only instance, you can delete the lock file $lockfile" @@ -112,5 +106,4 @@ done echo "Done Transcoding." IFS=$SAVEIFS -rm -f "$updateflagfile" rm -f "$lockfile"