+ gave the die() function a way to customise the sleep duration
(allows the clean-up step to terminate immediately without waiting),
and removed its unused exit-code argument.
# except we want to overwrite the BibTeX library files (inside the assets/references/ directory), we'll do that by checking the target dirname and only running the destructive cp operation if its "references"
# except we want to overwrite the biblatex library file (inside the assets/references/ directory)
# as well as the zotero.sqlite file, we'll do that by checking the target dirname and only run
# the copy operation (which will overwrite stuff) if it is "references"
assetdirnametarget=$(basename "$assetpathtarget")
assetdirnametarget=$(basename "$assetpathtarget")
if[[$assetdirnametarget=="references"]];then
if[[$assetdirnametarget=="references"]];then
msg "<thesis> Overwriting BibTeX libraries in assets/references/"
msg "<thesis> Overwriting Zotero biblatex library and database in assets/references/"