diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-10-19 21:09:58 +0000 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-10-19 21:09:58 +0000 |
commit | dfdaaa2562f6b7d78b8bae198f43244e147f8668 (patch) | |
tree | d7f0c5a7f56d2b9a6f6096fff9f38e0684199c1f /install.sh | |
parent | e2cda39364463e092acf72c7a32989a7182796ad (diff) | |
parent | fdc17536f4a0879a7ad7d42f64cf2b3180abccb8 (diff) |
Merge branch 'bugfix/remove-gluetun-countries' into 'master'
Removed all the gluetun countries configuration
Closes #16
See merge request rogs/yams!9
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -186,11 +186,6 @@ if [ "$setup_vpn" == "y" ]; then fi done echo - - echo "What country do you want to use?" - echo "If you are using: NordVPN, Perfect Privacy, Private Internet Access, VyprVPN, WeVPN or Windscribe, then input a region" - read -p "You can check the countries/regions list for your VPN here: https://github.com/qdm12/gluetun/wiki/$vpn_service#servers [brazil]: " vpn_country - vpn_country=${vpn_country:-"brazil"} fi echo "Configuring the docker-compose file for the user \"$username\" on \"$install_location\"..." @@ -228,15 +223,11 @@ sed -i -e "s;<install_location>;$install_location;g" "$filename" if [ "$setup_vpn" == "y" ]; then sed -i -e "s;<vpn_service>;$vpn_service;g" "$filename" sed -i -e "s;<vpn_user>;$vpn_user;g" "$filename" - sed -i -e "s;<vpn_country>;$vpn_country;g" "$filename" sed -i -e "s;<vpn_password>;$vpn_password;g" "$filename" sed -i -e "s;#network_mode: \"service:gluetun\";network_mode: \"service:gluetun\";g" "$filename" sed -i -e "s;ports: # qbittorrent;#port: # qbittorrent;g" "$filename" sed -i -e "s;- 8080:8080 # qbittorrent;#- 8080:8080 # qbittorrent;g" "$filename" sed -i -e "s;#- 8080:8080/tcp # gluetun;- 8080:8080/tcp # gluetun;g" "$filename" - if echo "nordvpn perfect privacy private internet access vyprvpn wevpn windscribe" | grep -qw "$vpn_service"; then - sed -i -e "s;SERVER_COUNTRIES;SERVER_REGIONS;g" "$filename" - fi fi # Set yams script |