[libgtop/wip/davidk/libexecdir-server] daemon: Do not attempt chown/chmod with DESTDIR



commit 2eb4501e85ff17bb0868f2bff502b73efc4e7bf1
Author: David King <amigadave amigadave com>
Date:   Wed Feb 2 16:57:09 2022 +0000

    daemon: Do not attempt chown/chmod with DESTDIR
    
    https://gitlab.gnome.org/GNOME/libgtop/-/issues/48

 src/daemon/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index 33d9a10d..72097c69 100644
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
@@ -52,5 +52,5 @@ libgtop_server2_LDADD         = $(top_builddir)/lib/libgtop-2.0.la \
 EXTRA_DIST                     = server_config.h.in server_config.pl
 
 install-exec-hook:
-       -@libgtop_postinstall@
+       test -n "$(DESTDIR)" || -@libgtop_postinstall@
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]