Miscellany
public text v1 · immutableif [ `psql -h 127.0.0.1 -U postgres template1 -c "SELECT encoding, datname FROM
pg_database;"|grep postgres|awk '{print $1}'` = 6 ]
then
sed -i 's/'`grep DB_UTF8 /usr/share/mastercom2/configuration/conf.php`'/define('"'DB_UTF8','true'"');/' /usr/share/mastercom2/configuration/conf.php
fi