94 |
|
|
95 |
preinstall() |
preinstall() |
96 |
{ |
{ |
97 |
|
if [[ ! -z $(magequery -n mdnsresponder) ]] |
98 |
|
then |
99 |
|
echo -e ${COLRED} |
100 |
|
echo -e "Error: net-misc/mdnsresponder is installed!!" |
101 |
|
echo -e "mdnsresponder is now superseeded by avahi and deprecated in this distribution." |
102 |
|
echo -e "Please uninstall net-misc/mdnsresponder first!" |
103 |
|
echo -e ${COLDEFAULT} |
104 |
|
die "net-misc/mdnsresponder found!" |
105 |
|
fi |
106 |
|
|
107 |
# adding avahi user |
# adding avahi user |
108 |
${MLIBDIR}/mgroupadd -o "-g 303" netdev |
${MLIBDIR}/mgroupadd -o "-g 303" netdev |
109 |
${MLIBDIR}/mgroupadd -o "-g 304" avahi |
${MLIBDIR}/mgroupadd -o "-g 304" avahi |