nixpkgs/pkgs/games/tuxpaint/tuxpaint-completion.diff

17 lines
512 B
Diff
Raw Normal View History

2018-04-24 19:25:13 +00:00
--- tuxpaint-0.9.22/src/tuxpaint-completion.bash~ 1970-01-01 01:00:01.000000000 +0100
+++ tuxpaint-0.9.22/src/tuxpaint-completion.bash 2018-03-06 10:54:03.437560921 +0100
@@ -8,7 +8,6 @@
# FIXME: See http://www.debian-administration.org/articles/316 for an intro
# to how we should be doing this... -bjk 2009.09.09
-have tuxpaint &&
_tuxpaint()
{
local cur
@@ -96,4 +95,4 @@
fi
}
-[ "${have:-}" ] && complete -F _tuxpaint $filenames tuxpaint
+complete -F _tuxpaint $filenames tuxpaint