Permalink
Browse files

Improve beta action

  • Loading branch information...
NEMS Linux
NEMS Linux committed Dec 11, 2018
1 parent 4048bfa commit b4189e95b45b41bc282405b37cef5afd9cafa5a1
Showing with 3 additions and 3 deletions.
  1. +3 −3 upgrade.sh
@@ -214,10 +214,10 @@ vm.swappiness = 10

echo "NEMS 1.5 has not yet been released."

read -p "Do you want to install the beta version? [Y/N] " -n 1 -r beta
read -r -p "Do you want to install the beta version? [y/N] " beta

echo ""
if [[ $beta =~ ^[Yy]$ ]]
then
if [[ $beta =~ ^([yY][eE][sS]|[yY])$ ]]; then
# Backup (to migrate to new database), only if initialized
initialized=`/usr/local/bin/nems-info init`
if [[ $initialized == 1 ]]; then

0 comments on commit b4189e9

Please sign in to comment.