This commit is contained in:
Martin Donnelly 2018-10-30 10:24:59 +00:00
parent 64d3a79a97
commit af921fc582
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -91,7 +91,7 @@ fancy_echo "${PURPLE}Updating system packages${RESET}"
else
echo $sudoPW | sudo -S apt-get -y -q --force-yes update
echo $sudoPW | sudo -S apt-get -y -q --force-yes upgrade
echo $sudoPW | sudo -S apt-get --assume-yes install build-essential git nginx htop screen wget curl xorg openbox libasound
echo $sudoPW | sudo -S apt-get --assume-yes install build-essential git nginx htop screen wget curl xorg openbox libasound2
echo $sudoPW | sudo -S apt-get -y -q --force-yes clean
fi
fi
@ -104,6 +104,8 @@ if [[ ! -f "$SWAP" ]]; then
echo $sudoPW | sudo -S chmod 600 $SWAP
echo $sudoPW | sudo -S mkswap $SWAP
echo $sudoPW | sudo -S swapon $SWAP
add /swapfile/swapfile none swap defaults 0 0 to /etc/fstab
fi
# setup node and npm