mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Double brackets not needed
This commit is contained in:
parent
e9aed65b0c
commit
55f8ffb2c9
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ ynh_setup_source () {
|
|||
local src_file_path="$YNH_CWD/../conf/${source_id}.src"
|
||||
# In case of restore script the src file is in an other path.
|
||||
# So try to use the restore path if the general path point to no file.
|
||||
if [[ ! -e "$src_file_path" ]]; then
|
||||
if [ ! -e "$src_file_path" ]; then
|
||||
src_file_path="$YNH_CWD/../settings/conf/${source_id}.src"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue