From a02fc8241bbb93a751828719e09e4031bf2b9899 Mon Sep 17 00:00:00 2001 From: qo-op Date: Sat, 6 Mar 2021 21:27:30 +0100 Subject: [PATCH] $USER becomes $YOU --- cron_MINUTE.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index d21f472..8896513 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -97,7 +97,7 @@ fi # # ON Rpi/xbian files added in ~/astroport are monitored to activate "new_file_in_astroport.sh" # Transfert ~/astroport/*/files to IPFS and make Astroport/KODI indexes in IPNS -if [[ "$USER" == "xbian" ]]; then +if [[ "$YOU" == "xbian" ]]; then [[ ! -e /home/$YOU/astroport ]] && mkdir -p /home/$YOU/astroport # VERIFY LAUNCH inotifywait ?! inotifywaitRunning=$(ps auxf --sort=+utime | grep -w inotifywait | grep -w astroport | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)