aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJason Woodward2006-08-27 13:34:19 +0000
committerJason Woodward2006-08-27 13:34:19 +0000
commit8e769237838d245f848690f0fc09744a490b4cdd (patch)
tree343bd0dae5a9b1b5881d64978dee14f3e6bfc4d2 /Makefile.am
parentf6f8cd1da93dff4a0dbf856e259c4bd9d180b7d3 (diff)
downloadgslapt-8e769237838d245f848690f0fc09744a490b4cdd.tar.gz
slack 11 permission compatibility
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 7d82857..7c251ec 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,8 +42,8 @@ pkg: all
$(mkinstalldirs) $(PKGDIR)/install
install slack-desc $(PKGDIR)/install/
install slack-required $(PKGDIR)/install/
- -chown root:bin $(PKGDIR)/$(sbindir)
- -chown root:bin $(PKGDIR)/$(sbindir)/@PACKAGE@
+ -chown $$(stat --format "%u:%g" /usr/sbin) $(PKGDIR)/$(sbindir)
+ -chown $$(stat --format "%u:%g" /usr/sbin) $(PKGDIR)/$(sbindir)/@PACKAGE@
@echo -n "for DESKTOPFILE in " > $(PKGDIR)/install/doinst.sh
@echo -n "$(DESTDIR)/$(datadir)/applications/gslapt.desktop " |sed -re "s/^\/+//" >> $(PKGDIR)/install/doinst.sh
@echo "$(DESTDIR)/$(datadir)/applications/gslapt-kde.desktop" |sed -re "s/^\/+//" >> $(PKGDIR)/install/doinst.sh