mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 07:02:50 +01:00
Remove required workshop path check
This commit is contained in:
1 parent
cdc3e0e05f
commit
abb6b3f02b
1 file changed
+1
-2
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=2.0.2
|
version=2.0.3
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
workshop="https://steamcommunity.com/sharedfiles/filedetails/?id="
|
workshop="https://steamcommunity.com/sharedfiles/filedetails/?id="
|
||||||
@@ -153,7 +153,6 @@ err(){
|
|||||||
varcheck(){
|
varcheck(){
|
||||||
[[ -z $api_key ]] && (err "Error in key: 'api_key'")
|
[[ -z $api_key ]] && (err "Error in key: 'api_key'")
|
||||||
[[ -z $whitelist ]] && (err "Error in key: 'whitelist'")
|
[[ -z $whitelist ]] && (err "Error in key: 'whitelist'")
|
||||||
[[ ! -d $workshop_dir ]] && (err "Malformed workshop path")
|
|
||||||
[[ ! -d $game_dir ]] && (err "Malformed game path")
|
[[ ! -d $game_dir ]] && (err "Malformed game path")
|
||||||
[[ $whitelist =~ [[:space:]] ]] && (err "Separate whitelist values with commas")
|
[[ $whitelist =~ [[:space:]] ]] && (err "Separate whitelist values with commas")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user