Make scripts more compatible and fail fast

pull/23/head
loyalsoldier 2020-07-11 18:25:10 +08:00
parent ca6e20b1d8
commit cf8dab851f
No known key found for this signature in database
GPG Key ID: 23829BBC1ACF2C90
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash #!/usr/bin/env bash
set -euxo pipefail
# This Bash script to install the latest release of geoip.dat and geosite.dat: # This Bash script to install the latest release of geoip.dat and geosite.dat:

View File

@ -1,4 +1,6 @@
#!/bin/bash #!/usr/bin/env bash
set -euxo pipefail
# The files installed by the script conform to the Filesystem Hierarchy Standard: # The files installed by the script conform to the Filesystem Hierarchy Standard:
# https://wiki.linuxfoundation.org/lsb/fhs # https://wiki.linuxfoundation.org/lsb/fhs