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




commit cfe1ef95d47143fb47e24f57e60821e3f9f1423e
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..e7eb1f28 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]