Node.js based forum software built for the modern web
commented out "language" directive in executable (didn't do anything anyway), and added "upgrade" directive
Julian Lam656781929496
diff --git a/nodebb b/nodebbindex 880afdf563..e74677384c 100755--- a/nodebb+++ b/nodebb@@ -9,6 +9,21 @@ case "$1" innode app;;+ upgrade)+ echo "Upgrading dependencies (this command is intended to be run after a successful \"git pull\")";+ read -p "Continue? " yn+ case $yn in+ [Yy]* )+ npm install+ ls -d node_modules/nodebb* | xargs -n1 basename | xargs npm update+ node app --upgrade+ echo -e "\n\e[00;32mNodeBB Dependencies up-to-date!\e[00;00m";+ ;;+ [Nn]* ) exit;;+ * ) echo "Please answer yes or no.";;+ esac+ ;;+dev)echo "Launching NodeBB in \"development\" mode."echo "To run the production build of NodeBB, please use \"forever\"."@@ -23,22 +38,22 @@ case "$1" inNODE_ENV=development supervisor -q --extensions 'node|js|tpl' -- app $1;;- language)- case "$2" in- check)- node app --language="check"- ;;+ # language)+ # case "$2" in+ # check)+ # node app --language="check"+ # ;;- *)- echo "Language Settings"- echo $"Usage: $0 language {check}"- echo ''- column -s ' ' -t <<< '- check Compare language files against the /en directory- '- ;;- esac- ;;+ # *)+ # echo "Language Settings"+ # echo $"Usage: $0 language {check}"+ # echo ''+ # column -s ' ' -t <<< '+ # check Compare language files against the /en directory+ # '+ # ;;+ # esac+ # ;;*)echo "Welcome to NodeBB"