Bug 21903: (follow-up) koha-dump can export uploaded and temporary uploaded files
authorMarion Durand <marion.durand@biblibre.com>
Thu, 21 Oct 2021 08:00:21 +0000 (08:00 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Jul 2022 14:46:37 +0000 (11:46 -0300)
commitc91fdece15f535a277891aa7695ffed2d74f09a9
tree23fb52e59fe8eb031549f626eb32379e659c3da0
parent4314700607268a3b5e95be1e0bf01965f3f5d95e
Bug 21903: (follow-up) koha-dump can export uploaded and temporary uploaded files

Minor improvment on display.
Solve the error message if the folder for uploaded temp files
doesn't exist.

Sponsored-by: Orex
Test plan:
- Apply the patch
- Try using koha-dump without any option
- Try using koha-dump with --uploaded_files
- Try using koha-dump with --uploaded_temp_files
- Try using koha-dump with both of the options above

Expected results: the .tar.gz dump will include uploaded and/or temporary
uploaded files if requested.
Change message and solve the error message if no temporary folder

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
debian/scripts/koha-dump