This diff should fix both the sudo and the non-sudo case:
In the sudo case the empty file creates if-modified-since (I-M-S) hits that are newer than the version on the server so no metarelease file is downloaded. Empty files now get simply removed.
In the non-sudo case both the "meta-release" and the "meta-release-development" file are mapped onto the same local filename. This confuses the i-m-s mechanism. The metarelease filename now will be build based on the actual download filename.
This diff should fix both the sudo and the non-sudo case:
In the sudo case the empty file creates if-modified-since (I-M-S) hits that are newer than the version on the server so no metarelease file is downloaded. Empty files now get simply removed.
In the non-sudo case both the "meta-release" and the "meta-release- development" file are mapped onto the same local filename. This confuses the i-m-s mechanism. The metarelease filename now will be build based on the actual download filename.
Cheers,
Michael