]> git.pld-linux.org Git - packages/avahi.git/commitdiff
- 165 for avahi gid/uid
authorfreetz <freetz@pld-linux.org>
Sat, 21 Jan 2006 14:20:55 +0000 (14:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    avahi.spec -> 1.4

avahi.spec

index 4ece87d73970d71793f7f0daccf4907a061371ea..1e179f9f73d1dafc4a6402636da550f8ac04f064 100644 (file)
@@ -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
This page took 0.076436 seconds and 4 git commands to generate.