From 05208e5bdc7cc307196621d8ce5a12b863d89bd9 Mon Sep 17 00:00:00 2001 From: Ximi1970 Date: Fri, 17 Apr 2020 21:25:18 +0200 Subject: [PATCH] Cleanup --- dist/rpm/systray-x.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dist/rpm/systray-x.spec b/dist/rpm/systray-x.spec index 18cca99..9b5eb9b 100644 --- a/dist/rpm/systray-x.spec +++ b/dist/rpm/systray-x.spec @@ -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