Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame^] | 1 | From e56f2b294ca8c805bfd3d715d523bef188c54cb1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Emmanuel Roullit <emmanuel.roullit@gmail.com> |
| 3 | Date: Sat, 2 May 2020 14:05:35 +0200 |
| 4 | Subject: [PATCH] install: fix metainfo.xml ownership on install |
| 5 | |
| 6 | Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com> |
| 7 | --- |
| 8 | Makefile.am | 4 ++-- |
| 9 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 10 | |
| 11 | diff --git a/Makefile.am b/Makefile.am |
| 12 | index d9f918e99..9a23e0a7b 100644 |
| 13 | --- a/Makefile.am |
| 14 | +++ b/Makefile.am |
| 15 | @@ -226,10 +226,10 @@ maintainer-clean-local:: |
| 16 | |
| 17 | install-data-local:: $(WEBPACK_INSTALL) |
| 18 | $(MKDIR_P) $(DESTDIR)$(pkgdatadir) |
| 19 | - tar -cf - $^ | tar -C $(DESTDIR)$(pkgdatadir) --strip-components=1 -xvf - |
| 20 | + tar -cf - $^ | tar --no-same-owner -C $(DESTDIR)$(pkgdatadir) --strip-components=1 -xvf - |
| 21 | install-data-local:: $(WEBPACK_DEBUG) |
| 22 | $(MKDIR_P) $(DESTDIR)$(debugdir)$(pkgdatadir) |
| 23 | - tar -cf - $^ | tar -C $(DESTDIR)$(debugdir)$(pkgdatadir) --strip-components=1 -xvf - |
| 24 | + tar -cf - $^ | tar --no-same-owner -C $(DESTDIR)$(debugdir)$(pkgdatadir) --strip-components=1 -xvf - |
| 25 | uninstall-local:: |
| 26 | find $(DESTDIR)$(pkgdatadir) -ignore_readdir_race -type f -exec rm -f {} \; |
| 27 | find $(DESTDIR)$(pkgdatadir) -ignore_readdir_race -type d -empty -delete |
| 28 | -- |
| 29 | 2.17.1 |
| 30 | |