haugene / vpn-configs-contrib

A collection of configs for various VPN providers
GNU General Public License v3.0
172 stars 739 forks source link

Update update-port.sh #275

Closed marble-sh closed 4 months ago

marble-sh commented 4 months ago

Sometimes the port would be 4 digits and this script would fail.

also fix some shellcheck errors:

I also changed the following:

Breaking change

Proposed change

Fix the update-port.sh script to handle 4-digit ports.

Type of change

Additional information

Checklist

If user exposed functionality or configuration variables are added/changed:

pkishino commented 4 months ago

Looks good. Nice additions.