diff --git a/scripts/_common.sh b/scripts/_common.sh index a209464..d5fee85 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -88,8 +88,9 @@ netdata_add_yunohost_postgres_configuration () { if [ ! -f $postgres_file ] ; then cp $final_path/etc/netdata/orig/go.d/postgres.conf $postgres_file fi - if [ -f /etc/yunohost/psql ] && [ -z "$(grep "yunohost" $postgres_file)" ] ; then + if [ -f /etc/yunohost/psql ] && [ -z "$(grep "YUNOHOST" $postgres_file)" ] ; then cat >> $postgres_file <