( cd usr/lib ; rm -rf libcolordprivate.so.2 )
( cd usr/lib ; ln -sf libcolordprivate.so.2.0.4 libcolordprivate.so.2 )
( cd usr/lib ; rm -rf libcolordprivate.so )
( cd usr/lib ; ln -sf libcolordprivate.so.2.0.4 libcolordprivate.so )
( cd usr/lib ; rm -rf libcolord.so.2 )
( cd usr/lib ; ln -sf libcolord.so.2.0.4 libcolord.so.2 )
( cd usr/lib ; rm -rf libcolord.so )
( cd usr/lib ; ln -sf libcolord.so.2.0.4 libcolord.so )
( cd usr/lib ; rm -rf libcolorhug.so.2 )
( cd usr/lib ; ln -sf libcolorhug.so.2.0.4 libcolorhug.so.2 )
( cd usr/lib ; rm -rf libcolorhug.so )
( cd usr/lib ; ln -sf libcolorhug.so.2.0.4 libcolorhug.so )

doinst () 
{ 
    if ! usr/bin/getent group colord 2> /dev/null > /dev/null; then
        usr/sbin/groupadd -g 303 colord;
    fi;
    if ! usr/bin/getent passwd colord 2> /dev/null > /dev/null; then
        usr/sbin/useradd -d /var/lib/colord -u 303 -g colord -s /bin/false colord;
    fi
}
doinst
