NodeJS reinstall now reinstalls apps

This commit is contained in:
Taylor Helsper 2023-10-15 21:06:11 -05:00
parent 63fee5be5e
commit 60c413704e

View File

@ -54,7 +54,8 @@ elif [ "$APP" = "tor" ]; then
apt-get remove -y tor
apt-get install -y tor
elif [ "$APP" = "nodejs" ]; then
apt-get install -y --reinstall nodejs
# This will force a re-install of node + node based apps in the post upgrade script
echo "" > /etc/apt/sources.list.d/nodesource.list
elif [ "$APP" = "ufw" ]; then
apt-get purge -y ufw
apt-get install -y ufw