diff --git a/actions/p4n.swarmscraper.sh b/actions/p4n.swarmscraper.sh index afba4e0..e7d71b1 100755 --- a/actions/p4n.swarmscraper.sh +++ b/actions/p4n.swarmscraper.sh @@ -16,7 +16,7 @@ IPFSNODEID=$(ipfs --timeout=20s id -f='\n' 2>/dev/null) && [[ $IPFSNODEID == [ ! -d ~/.zen/ipfs/.$IPFSNODEID/astroport ] && echo 'ASTROPORT NOT READY' && exit 1 ## INSTALL MISSING PACKAGES -[[ -f /etc/sudoers.d/apt ]]; then +if [[ -f /etc/sudoers.d/apt ]]; then for i in chromium nmap httrack imagemagick; do if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ]; then sudo apt install -y $i