$USER becomes $YOU

This commit is contained in:
qo-op 2021-03-06 21:27:30 +01:00
parent 27a419bc1b
commit a02fc8241b
1 changed files with 1 additions and 1 deletions

View File

@ -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)