That path is used to detect if it has run before and skip re-execution as it isn't needed anymore then. A path change might be wanted, but would either need all sorts of maintscript magic to carry from old to new location if that has happened on a given system.
The option to use:
CacheDirectory=pollinate
is very tempting.
Because if the path is there already this does nothing => no re-execution even on reboots.
But if running in an environment that has cleaned /var/cache then this will ensure it is "fine again". I think we can at this time also remove the mkdir from the postinst.
I'll prep that tomorrow and experiment with it ....
That path is used to detect if it has run before and skip re-execution as it isn't needed anymore then. A path change might be wanted, but would either need all sorts of maintscript magic to carry from old to new location if that has happened on a given system.
The option to use: y=pollinate
CacheDirector
is very tempting.
Because if the path is there already this does nothing => no re-execution even on reboots.
But if running in an environment that has cleaned /var/cache then this will ensure it is "fine again". I think we can at this time also remove the mkdir from the postinst.
I'll prep that tomorrow and experiment with it ....