From: freetz Date: Sat, 21 Jan 2006 14:20:55 +0000 (+0000) Subject: - 165 for avahi gid/uid X-Git-Tag: auto/th/avahi-0_6_5-1~10 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=611ce39d0d114b0d39fcf9aefbada7f3a2c402b0;p=packages%2Favahi.git - 165 for avahi gid/uid Changed files: avahi.spec -> 1.4 --- diff --git a/avahi.spec b/avahi.spec index 4ece87d..1e179f9 100644 --- a/avahi.spec +++ b/avahi.spec @@ -264,10 +264,9 @@ install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d %clean rm -rf $RPM_BUILD_ROOT -%if 0 %pre -%groupadd -g x -r -f avahi -%useradd -u x -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi +%groupadd -g 165 -r -f avahi +%useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi %endif %post @@ -284,13 +283,11 @@ if [ "$1" = "0" ]; then /sbin/chkconfig --del %{name}-daemon fi -%if 0 %postun if [ "$1" = "0" ]; then %userremove avahi %groupremove avahi fi -%endif %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig