mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update install_proxmenux.sh
This commit is contained in:
parent
b7b147714a
commit
b026aa5e3d
@ -63,8 +63,8 @@ fi
|
|||||||
show_proxmenu_logo
|
show_proxmenu_logo
|
||||||
|
|
||||||
|
|
||||||
# Display installation information
|
# Display installation confirmation
|
||||||
echo -e "${YW}ProxMenu will install the following components:${CL}"
|
echo -e "${YW}To function correctly, ProxMenu needs to install the following components:${CL}"
|
||||||
echo -e "${TAB}- whiptail (if not already installed)"
|
echo -e "${TAB}- whiptail (if not already installed)"
|
||||||
echo -e "${TAB}- curl (if not already installed)"
|
echo -e "${TAB}- curl (if not already installed)"
|
||||||
echo -e "${TAB}- jq (if not already installed)"
|
echo -e "${TAB}- jq (if not already installed)"
|
||||||
@ -72,17 +72,13 @@ echo -e "${TAB}- Python 3 (if not already installed)"
|
|||||||
echo -e "${TAB}- Virtual environment for Google Translate"
|
echo -e "${TAB}- Virtual environment for Google Translate"
|
||||||
echo -e "${TAB}- ProxMenu scripts and configuration files"
|
echo -e "${TAB}- ProxMenu scripts and configuration files"
|
||||||
echo
|
echo
|
||||||
|
read -p "Do you want to proceed with the installation? (y/n) " -n 1 -r
|
||||||
# Ask for user confirmation
|
echo
|
||||||
while true; do
|
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
||||||
echo -n "Do you want to proceed with the installation? (y/n): "
|
then
|
||||||
read -r REPLY
|
msg_warn "Installation cancelled."
|
||||||
case $REPLY in
|
exit 1
|
||||||
[Yy]* ) break;;
|
fi
|
||||||
[Nn]* ) msg_warn "Installation cancelled."; exit 1;;
|
|
||||||
* ) echo "Please answer yes (y) or no (n).";;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
# Check system dependencies
|
# Check system dependencies
|
||||||
|
Loading…
x
Reference in New Issue
Block a user