[Debian-med-packaging] Bug#915541: Removal of upstream "--will-cite" functionality has been reverted
Tobias Frost
tobi at debian.org
Tue Aug 31 07:46:41 BST 2021
On Mon, Aug 30, 2021 at 07:22:52PM +0200, Ole Tange wrote:
> On Mon, Aug 30, 2021 at 3:38 PM Andreas Tille <andreas at fam-tille.de> wrote:
> :
> > I admit I also considered a wrapper but with a different functionality:
> > Simply check whether --citation was used before and if not do so.
>
> If you mean a wrapper similar to this, then that would be a compromise
> I can live with:
>
> if [ -t 2 -a ! -e "$HOME/.citation-run" ] ; then
> # Only run if stderr is a terminal (to avoid breaking scripts)
> parallel.real --citation
> touch "$HOME/.citation-run"
> fi
> parallel.real "$@"
Thats fragil.
There is no guarantee that a (system) user has $HOME that it is writable.
(Regardin what to do in Debian, maybe its time to resurrect #597050?)
--
tobi
More information about the Debian-med-packaging
mailing list