diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2021-07-16 16:02:47 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2021-07-16 19:25:44 +0100 |
commit | 1c2bbced33233b4282fc78526b276b67180e82c7 (patch) | |
tree | 85720fcaf18eb97e6a90fd6fae845a699acd5e21 /Makefile.am | |
parent | Impress: Hide comment list panel when there are no comments on the selected p... (diff) | |
download | online-1c2bbced33233b4282fc78526b276b67180e82c7.tar.gz online-1c2bbced33233b4282fc78526b276b67180e82c7.zip |
systemplate: ensure we have write access to directories before cleaning.
Some of the folders we setup from the system are:
dr-xr-xr-x 1 michael users 2824 Jun 9 21:05 systemplate/usr/share/fonts/
before adjustment, and resist removal.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I8e5a96264b98d8091b205f7469bc46c401f47ab1
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 02f8ceb773..8c71ffd971 100644 --- a/Makefile.am +++ b/Makefile.am @@ -393,7 +393,7 @@ endif $(SYSTEM_STAMP): ${top_srcdir}/loolwsd-systemplate-setup $(CLEANUP_DEPS) $(SET_CAPS_COMMAND) $(CLEANUP_COMMAND) - if test "z@SYSTEMPLATE_PATH@" != "z"; then rm -rf "@SYSTEMPLATE_PATH@" && \ + if test "z@SYSTEMPLATE_PATH@" != "z"; then chmod u+w -R "@SYSTEMPLATE_PATH@" ; rm -rf "@SYSTEMPLATE_PATH@" && \ ${top_srcdir}/loolwsd-systemplate-setup "@SYSTEMPLATE_PATH@" "@LO_PATH@" && touch $@; fi @JAILS_PATH@: |