diff --git a/scripts/install.sh b/scripts/install.sh index ecb09ea..e4e7273 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -28,7 +28,7 @@ cat <<'EOF' Open-Source Web Hosting Control Panel EOF echo -e "${RESET}" -echo -e " Version : ${BOLD}0.1.0${RESET}" +echo -e " Version : ${BOLD}0.2.0${RESET}" echo -e " GitHub : ${BOLD}https://github.com/NixReaper/nixpanel-server${RESET}" echo -e " NixServer: ${BOLD}https://:2087${RESET}" echo -e " NixClient: ${BOLD}https://:2083${RESET}" @@ -121,7 +121,11 @@ echo -e "${BOLD}Installation summary:${RESET}" echo " Install directory : $INSTALL_DIR" echo " Admin username : $ADMIN_USER" echo " Admin email : $ADMIN_EMAIL" -echo " Admin password : ${GENERATED_PASS:+}${GENERATED_PASS:-$ADMIN_PASS}" +if [[ "$GENERATED_PASS" == "true" ]]; then + echo " Admin password : " +else + echo " Admin password : $ADMIN_PASS" +fi echo "" read -r -p "Continue? [Y/n] " CONFIRM CONFIRM="${CONFIRM:-Y}"