14 Jul
2021
14 Jul
'21
06:09
Hello, whilst cleaning up some more error messages, I came across this section in the susemanager.spec https://github.com/uyuni-project/uyuni/blob/master/susemanager/susemanager.s... %posttrans # make sure our database will use correct encoding . /etc/sysconfig/postgresql if [ -z $POSTGRES_LANG ]; then grep "^POSTGRES_LANG" /etc/sysconfig/postgresql > /dev/null 2>&1 if [ $? = 0 ]; then sed -i -e "s/^POSTGRES_LANG.*$/POSTGRES_LANG=\"en_US.UTF-8\"/" /etc/sysconfig/postgresql else echo "POSTGRES_LANG=\"en_US.UTF-8\"" >> /etc/sysconfig/postgresql fi fi Can I move this to "/susemanager/bin/mgr-setup" or is it to clean some legacy installations? Best wishes, Stefan