1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-29 13:52:03 +01:00

Change conditional operator

This commit is contained in:
aclist 2022-10-09 11:29:22 +09:00
parent 09352b2f0b
commit e40eecd9e3

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -o pipefail set -o pipefail
version=2.8.0-rc.22 version=2.8.0-rc.23
aid=221100 aid=221100
game="dayz" game="dayz"
@ -81,7 +81,7 @@ depcheck(){
done done
} }
watcher_deps(){ watcher_deps(){
if [[ ! $(command -v wmctrl) ]] || [[ ! $(command -v xdotool) ]]; then if [[ ! $(command -v wmctrl) ]] && [[ ! $(command -v xdotool) ]]; then
echo "100" echo "100"
warn "Requires wmctrl or xdotool" warn "Requires wmctrl or xdotool"
exit 1 exit 1
@ -1591,9 +1591,6 @@ while true; do
fi fi
done done
} }
#cleanup(){
# rm $config_path/.lockfile
#}
lock(){ lock(){
if [[ ! -f $config_path/.lockfile ]]; then if [[ ! -f $config_path/.lockfile ]]; then
touch $config_path/.lockfile touch $config_path/.lockfile