diff --git a/.install/mpd_rompr.sh b/.install/mpd_rompr.sh index 8f3875e..bbb51e9 100755 --- a/.install/mpd_rompr.sh +++ b/.install/mpd_rompr.sh @@ -11,8 +11,7 @@ ME="${0##*/}" ######################################################################## YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) || er+=" ipfs daemon not running" IPFSNODEID=$(ipfs id -f='\n') || er+=" ipfs id problem" -WHOAMI=$(sbotc whoami | jq -r .id) || er+=" sbotc whoami problem" -[[ "$YOU" == "" || "$IPFSNODEID" == "" || "$WHOAMI" == "" ]] && echo "ERROR : $er " && exit 1 +[[ "$YOU" == "" || "$IPFSNODEID" == "" ]] && echo "ERROR : $er " && exit 1 ######################################################################## #### DO NOT RUN AS ROOT [[ $USER == "root" ]] && echo "DO NOT RUN AS root!! Use regular USER with sudo AUTHORISATION" && exit 1