Sunil Mohan Adapa 2499767aa5
kiwix: Remove existing data directory before a restore operation
Although there are no issues with kiwix like for calibre, it is the right way to
do this.

Tests:

- Without patch, restore the app on testing from a backup on stable machine and
notice that the data folder is owned by nobody:nogroup but files inside are
owned by a kiwix-server-freedombox user and group. This is not ideal.

- With patch, restore again notice that the library is accessible and all the
files are owned by nobody:nogroup.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2025-04-01 09:46:21 -04:00
..
2025-04-01 14:13:56 +02:00
2025-03-25 10:09:23 -04:00
2024-10-16 21:07:54 -07:00
2025-03-11 10:25:29 -07:00
2024-12-25 12:25:05 +02:00