This commit is contained in:
Ximi1970
2020-04-17 21:25:18 +02:00
parent 004cea0477
commit 05208e5bdc

View File

@@ -86,9 +86,7 @@ if [ -f $CONF_DIR/$CONF_FILE ] ; then
# Edit extensions file
#
grep -q $EXTENSION $CONF_DIR/$CONF_FILE
if [ "$?" == "1" ] ; then
echo "Add"
if [ "$?" == "1" ] ; then
sed -i -e "s/\(enabled-extensions=\[.*\)\]/\1, '${EXTENSION}'\]/" $CONF_DIR/$CONF_FILE
fi
else