File keeper of Package keeperrl
#!/bin/sh libexec="/usr/lib" if [ ! -e ~/.keeperrl ] ;then mkdir -p ~/.keeperrl/ cd ~/.keeperrl/ find "$libexec/keeperrl" -mindepth 1 -type d \ -exec sh -c 'mkdir -p "$(echo $0 | sed s@/usr/lib/keeperrl/@@)"' {} \; find "$libexec/keeperrl" -type f \ -exec sh -c 'ln -s "$0" "$(echo $0 | sed s@/usr/lib/keeperrl/@@)"' {} \; fi cd ~/.keeperrl/ exec ./keeper "\$@"