]> git.pld-linux.org Git - packages/dss.git/commitdiff
- fix installing ghost logs
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 9 Aug 2010 13:18:50 +0000 (13:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dss.spec -> 1.18

dss.spec

index 107265a43d7526426f14cc89cb6c87bead94fc53..3e7f6ace493d9aead74f31456bd59d9ffd5d286b 100644 (file)
--- a/dss.spec
+++ b/dss.spec
@@ -5,7 +5,7 @@
 Summary:       Darwin Streaming Server
 Name:          dss
 Version:       6.0.3
 Summary:       Darwin Streaming Server
 Name:          dss
 Version:       6.0.3
-Release:       0.12
+Release:       0.15
 License:       Apple Public Source License
 Group:         Networking/Daemons
 Source0:       http://dss.macosforge.org/downloads/DarwinStreamingSrvr%{version}-Source.tar
 License:       Apple Public Source License
 Group:         Networking/Daemons
 Source0:       http://dss.macosforge.org/downloads/DarwinStreamingSrvr%{version}-Source.tar
@@ -216,12 +216,12 @@ rm -rf $RPM_BUILD_ROOT
 %useradd -g qtss -d /tmp -u 148 -s /bin/false qtss
 
 %post
 %useradd -g qtss -d /tmp -u 148 -s /bin/false qtss
 
 %post
-for a in StreamingServer.log mp3_access.log server_status streamingadminserver.log ; do
-       log=/var/log/$a
+for a in StreamingServer.log mp3_access.log server_status streamingadminserver.log; do
+       log=/var/log/%{name}/$a
        if [ ! -f $log ]; then
        if [ ! -f $log ]; then
-               install -o root -g dss -m 0660 /dev/null $log
+               install -o root -g qtss -m 0660 /dev/null $log
        fi
        fi
-fi
+done
 /sbin/chkconfig --add %{name}
 /sbin/chkconfig --add %{name}-admin
 %service %{name} restart
 /sbin/chkconfig --add %{name}
 /sbin/chkconfig --add %{name}-admin
 %service %{name} restart
This page took 0.460633 seconds and 4 git commands to generate.