nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a8e9d279ac2ee64131177231175266c116298722
parent cb410e25d8c5bf67bb4f7592e36f0c0475535c76
Author: NRK <nrk@disroot.org>
Date:   Sun, 20 Feb 2022 14:41:37 +0600

dragdrop: use "dragon-drop" if it exists

to avoid name conflict some distros renamed dragon to `dragon-drop`
https://github.com/mwh/dragon/issues/17#issuecomment-889878960

Diffstat:
Mplugins/dragdrop | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/plugins/dragdrop b/plugins/dragdrop @@ -19,6 +19,8 @@ resp=f all= if type dragon-drag-and-drop >/dev/null 2>&1; then dnd="dragon-drag-and-drop" +if type dragon-drop >/dev/null 2>&1; then + dnd="dragon-drop" else dnd="dragon" fi