Install outputs chmod: cannot access `//usr/share/games/angband/lib/{apex,save,user}': No such file or directory The line (in pkg_postinst) should have no double quotes: chmod -R g+w "${ROOT}${GAMES_DATADIR}"/angband/lib/{apex,save,user} Should be: chmod +R g+w ${ROOT}${GAMES_DATADIR}/angband/lib/{apex,save,user}
This is a bug in bash3. It'll be fixed in the next bash3 revision.