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)