These are the lines of my script that guarantee a fresh download:
rm -rf $HAB/runtime
rm -r $HAB/userdata/cache/*
rm -r $HAB/userdata/tmp/*
unzip -n $DOWN/openhab-online-2.0.0-SNAPSHOT.zip
If you only remove these, you will only clear out the maven cache, forcing a fresh download at startup. You don’t need to axe your configurations (mapdb, etc).
Hope this helps