From d2e02277d253d1b710b553c59a90370e698e5539 Mon Sep 17 00:00:00 2001 From: qo-op Date: Sat, 12 Dec 2020 02:47:39 +0100 Subject: [PATCH] remove sbotc --- .install/mpd_rompr.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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