Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1957 → Rev 1958

/scripts/alcasar-bl.sh
359,14 → 359,13
fi
fi
done
sort +0.0 -0.2 $BL_CATEGORIES -o $FILE_tmp
mv $FILE_tmp $BL_CATEGORIES
chown root:apache $BL_CATEGORIES
chmod 660 $BL_CATEGORIES
sort +0.0 -0.2 $WL_CATEGORIES -o $FILE_tmp
mv $FILE_tmp $WL_CATEGORIES
chown root:apache $WL_CATEGORIES
chmod 660 $WL_CATEGORIES
for file in $BL_CATEGORIES $BL_CATEGORIES_ENABLED $WL_CATEGORIES $WL_CATEGORIES_ENABLED
do
sort +0.0 -0.2 $file -o $FILE_tmp
mv $FILE_tmp $file
chown root:apache $file
chmod 660 $file
done
if [ "$PARENT_SCRIPT" != "alcasar-conf.sh" ] # don't launch on install stage
then
/usr/bin/systemctl restart dnsmasq-blacklist