From 8cc76f220b8d855ca0d3765741760260b92b7dc5 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 6 Aug 2021 00:26:23 +0200 Subject: [PATCH] even better --- cron_MINUTE.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index a4c728f..84e8b0e 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -78,7 +78,7 @@ weeknumber=$(date +%V) # WAKEUP TIME if [[ ! -f /home/$YOU/.zen/A_Station_ON ]]; then echo "onheure=$heure; onminute=$minute; ontimebar=$timebar" > /home/$YOU/.zen/A_Station_ON - [[ -f -f /tmp/A_Station_ON ]] && cp /tmp/A_Station_ON /home/$YOU/.zen/A_Station_ON + [[ -f /tmp/A_Station_ON ]] && cp /tmp/A_Station_ON /home/$YOU/.zen/A_Station_ON else source /home/$YOU/.zen/A_Station_ON old=$ontimebar