Enable read -er and read -rs options for input

This commit is contained in:
Tobias 2025-11-21 11:39:24 +01:00 committed by GitHub
parent d4b209ae1e
commit a1d000952b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,13 +78,13 @@ fi
echo -e "${YW}⚠️ ${APP} is not installed.${CL}" echo -e "${YW}⚠️ ${APP} is not installed.${CL}"
echo -n "Enter URL of qbittorrent example: (http://192.168.1.10:8080): " echo -n "Enter URL of qbittorrent example: (http://192.168.1.10:8080): "
read -r QBITTORRENT_BASE_URL read -er QBITTORRENT_BASE_URL
echo -n "Enter qbittorrent username: " echo -n "Enter qbittorrent username: "
read -r QBITTORRENT_USERNAME read -er QBITTORRENT_USERNAME
echo -n "Enter qbittorrent password: " echo -n "Enter qbittorrent password: "
read -sr QBITTORRENT_PASSWORD read -rs QBITTORRENT_PASSWORD
echo "" echo ""
echo -n "Install ${APP}? (y/n): " echo -n "Install ${APP}? (y/n): "