mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
quiet grep
This commit is contained in:
parent
e10cde090f
commit
3f421e68b4
1 changed files with 2 additions and 2 deletions
2
ynh-dev
2
ynh-dev
|
@ -217,7 +217,7 @@ function use_git()
|
|||
ssowat)
|
||||
create_sym_link "/ynh-dev/ssowat" "/usr/share/ssowat"
|
||||
local ssowat_conf_file="/etc/nginx/conf.d/ssowat.conf"
|
||||
if ! grep lua_package_path $ssowat_conf_file; then
|
||||
if ! grep -q lua_package_path $ssowat_conf_file; then
|
||||
local current_ssowatconf=$(cat $ssowat_conf_file)
|
||||
echo "lua_package_path '/ynh-dev/ZeroBraneStudio/lualibs/?/?.lua;/ynh-dev/ZeroBraneStudio/lualibs/?.lua;;';" > $ssowat_conf_file
|
||||
echo "lua_package_cpath '/ynh-dev/ZeroBraneStudio/bin/linux/x64/clibs/?.so;;';" >> $ssowat_conf_file
|
||||
|
|
Loading…
Add table
Reference in a new issue