Package: crafty
Version: 23.4-6
Severity: minor
Tags: patch

Dear Maintainer,


setup_crafty.sh installs an empty crafty.hlp in $HOME/.crafty/

This is a fix:
-       zcat /usr/share/doc/crafty/crafty.hlp.gz > $CPATH/crafty.hlp
+       cp -v /usr/share/doc/crafty/crafty.hlp $CPATH

But the 'help' command in Crafty works anyway, since the file
$HOME/.crafty is not used.

'lsof' reports Crafty using /usr/share/doc/crafty/crafty.hlp
instead, so a better fix might be to just drop copying crafty.hlp in
setup_crafty.sh



-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages crafty depends on:
ii  libc6       2.13-38
ii  libnuma1    2.0.8~rc4-1
ii  libstdc++6  4.7.2-5

Versions of packages crafty recommends:
ii  crafty-books-medtosmall  1.0.debian1-2
ii  xboard                   4.7.1-1

crafty suggests no packages.

-- no debconf information
--- /usr/share/doc/crafty/setup_crafty.sh	2010-11-30 13:54:31.000000000 +0100
+++ setup_crafty.sh	2013-09-16 18:16:05.605315292 +0200
@@ -35,7 +35,7 @@
 		
 		echo "Copying crafty.hlp"
 		echo "To use it you have to run crafty in $CPATH"
-		zcat /usr/share/doc/crafty/crafty.hlp.gz > $CPATH/crafty.hlp
+		cp -v /usr/share/doc/crafty/crafty.hlp $CPATH
 		echo ""
 
 		echo "For setting enviroment variables"

Reply via email to