reshape
This commit is contained in:
parent
dba5dc516d
commit
ea1fd0a09d
|
@ -16,7 +16,7 @@ IPFSNODEID=$(ipfs --timeout=20s id -f='<id>\n' 2>/dev/null) && [[ $IPFSNODEID ==
|
||||||
[ ! -d ~/.zen/ipfs/.$IPFSNODEID/astroport ] && echo 'ASTROPORT NOT READY' && exit 1
|
[ ! -d ~/.zen/ipfs/.$IPFSNODEID/astroport ] && echo 'ASTROPORT NOT READY' && exit 1
|
||||||
|
|
||||||
## INSTALL MISSING PACKAGES
|
## INSTALL MISSING PACKAGES
|
||||||
[[ -f /etc/sudoers.d/apt ]]; then
|
if [[ -f /etc/sudoers.d/apt ]]; then
|
||||||
for i in chromium nmap httrack imagemagick; do
|
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
|
if [ $(dpkg-query -W -f='${Status}' $i 2>/dev/null | grep -c "ok installed") -eq 0 ]; then
|
||||||
sudo apt install -y $i
|
sudo apt install -y $i
|
||||||
|
|
Loading…
Reference in New Issue