build-sys: make proximity helper properly suid
authorLennart Poettering <lennart@poettering.net>
Fri, 28 Aug 2009 15:10:17 +0000 (17:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 28 Aug 2009 15:10:17 +0000 (17:10 +0200)
src/Makefile.am

index 654dc41..88f0ff5 100644 (file)
@@ -1738,7 +1738,7 @@ daemon.conf: daemon/daemon.conf.in Makefile
                -e 's,@PA_DEFAULT_CONFIG_FILE\@,$(DEFAULT_CONFIG_DIR),g' < $< > $@
 
 install-exec-hook:
-       chown root $(DESTDIR)$(bindir)/pulseaudio ; true
+       -chown root $(DESTDIR)$(pulselibexecdir)/proximity-helper
        -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
        ln -sf pacat $(DESTDIR)$(bindir)/parec
        ln -sf pacat $(DESTDIR)$(bindir)/pamon