Hi!

This wishlist was recently brought to my attention, as something that
could be added via dh-exec. I have a couple of ideas for the syntax:

1) usr/bin/djview3 => usr/bin/djview3

This is the existing syntax for dh-exec-install-rename, which does a
copy behind the scenes. For this feature, it would need to do a rename.
I do not want to break existing functionality, so if I go with this
syntax, we will need a flag to tell dh-exec to do a move instead of
copy.

Something like -Oinstall-rename=move or --move-files. Or, following
existing syntax: --with-scripts=install-movefiles. I am leaning towards
this last one.

2) => usr/bin/djview3

Kind of like the rename syntax, but only with the second part of it.
This is shorter, and does not need additional flags on the #! line. But
it does not allow renaming with a move. I suppose that is not
particularly important, seeing that I know of no such request.

3) A combination of both.

By default, install-movefiles would come after install-rename, thus the
latter would rewrite the src => dest form before install-move gets
there. With a --with-scripts argument, movefiles would win the race
instead.

Having dumped this here, I will go with the third option. Thank you for
listening.

-- 
|8]

Reply via email to