mirror of
https://github.com/skiqqy/skiqqy.github.io
synced 2025-01-13 18:44:18 +00:00
Small fix
This commit is contained in:
parent
3312e8e2a9
commit
c53cb9cccd
2
nginxd
2
nginxd
@ -59,7 +59,7 @@ unitsd=${unitsd:="./units"}
|
||||
|
||||
# Check if we are disabeling, that we have a replacement unit
|
||||
[ $oper == "d" ] && [[ ! -f "$unitsd/d$unit" ]] && error "Cannot find replacement unit for <$unit>" 1
|
||||
[ $oper == "e" ] && [[ ! -f "$unitsd/$unit" ]] && error "Cannot find unit file for <$unit>" 1
|
||||
[ $oper == "e" ] && [ $unit != "all" ] && [[ ! -f "$unitsd/$unit" ]] && error "Cannot find unit file for <$unit>" 1
|
||||
|
||||
# Everything is valid, start setting up.
|
||||
#cp $unitsd/* /etc/nginx/sites-available/
|
||||
|
Loading…
Reference in New Issue
Block a user