Update install.sh

This commit is contained in:
2024-10-17 14:23:52 +03:00
parent e36b720525
commit a55db8f11f

View File

@@ -11,11 +11,15 @@ read stalkerpass
echo ""
while true; do
read -p "Do you want to install Ministra directly from their servers? (y/n): " yn
case $yn in
[Yy]* ) ministra_source=http://download.ministra.com/downloads/159934057961c4dfe9153ee02d7e3fb1/ministra-5.6.10.zip; break;;
[Nn]* ) ministra_source=http://download.ministra.com/downloads/159934057961c4dfe9153ee02d7e3fb1/ministra-5.6.9.zip; break;;
* ) echo "Please answer yes or no." ;;
echo "From which source do you want to download and install?"
echo "Selection:"
echo "- Press "i" if you want to download from Informir"
echo "- Press "w" if you want to download from WorldOfIPTV"
read -p "Enter your choice (i/w): " choice
case $choice in
[Ii]* ) ministra_source=http://download.ministra.com/downloads/159934057961c4dfe9153ee02d7e3fb1/ministra-5.6.10.zip; break;;
[Ww]* ) ministra_source=https://www.dropbox.com/scl/fi/lbpm76rw5puwmfforgqy7/ministra-5.6.10.zip?rlkey=ytychga8fglydbeq993bt2zwd&st=zb4o6442&dl=0; break;;
* ) echo "Please enter a valid option (i or w)." ;;
esac
done
@@ -147,4 +151,4 @@ sudo phing
git config --global --unset http.sslVerify
sed -i "s/mysql -u root -p$rootpass mysql/mysql -u root -p mysql/g" /var/www/html/stalker_portal/deploy/build.xml
echo ""
echo "Done!"
echo "Done!"