tags 494199 patch quit Hi,
Attached is a patch that fixes this bug. Please apply it :-) Thanks, Matthew
--- preinst.orig 2008-09-03 19:58:29.000000000 +0100 +++ preinst 2008-09-03 19:59:02.000000000 +0100 @@ -73,15 +73,17 @@ for dir in apex bone save user; do if [ -d /var/lib/games/angband/$dir ]; then test -d /var/games/angband/$dir || mkdir -p /var/games/angband/$dir - for file in /var/lib/games/angband/$dir/*; do - basefile=$(basename $file) - if [ "X$basefile" = "Xdelete.me" ]; then - continue; - fi - test -e /var/games/angband/$dir/$basefile || \ - cp -f /var/lib/games/angband/$dir/$basefile \ - /var/games/angband/$dir/$basefile - done + if ls /var/games/angband/$dir | grep . >/dev/null ; then + for file in /var/lib/games/angband/$dir/*; do + basefile=$(basename $file) + if [ "X$basefile" = "Xdelete.me" ]; then + continue; + fi + test -e /var/games/angband/$dir/$basefile || \ + cp -f /var/lib/games/angband/$dir/$basefile \ + /var/games/angband/$dir/$basefile + done + fi fi done fi
-- "At least you know where you are with Microsoft." "True. I just wish I'd brought a paddle." http://www.debian.org