From af43ee6008069295fc8ec6f248aff964a7a0b8d2 Mon Sep 17 00:00:00 2001 From: Gofannon Date: Fri, 15 May 2020 12:50:50 +0200 Subject: [PATCH] Fix upgrade error by changing rm options Warning: yunohost.hook - [1188.1] rm: cannot remove 'vendor/easybook/geshi': Directory not empty --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e2a7375..709e29b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -236,7 +236,7 @@ then # Move to the dokuwiki installation folder so the "official" commands can be used without adaptation cd $final_path - grep --extended-regexp --invert-match '^($|#)' data/deleted.files | xargs --max-args=1 rm --force --dir || true + grep --extended-regexp --invert-match '^($|#)' data/deleted.files | xargs --max-args=1 rm --force || true ) fi