$OpenBSD: patch-game_egoboo_sh,v 1.2 2019/05/07 20:32:32 jca Exp $
Index: game/egoboo.sh
--- game/egoboo.sh.orig
+++ game/egoboo.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-EGOBOO_PREFIX=${HOME}/.local
+EGOBOO_PREFIX="${TRUEPREFIX}"
 EGOBOO_SHARED="${EGOBOO_PREFIX}/share/egoboo"
 
 # exit on any error
@@ -11,15 +11,15 @@ if [ ! -d ~/.egoboo ]; then
 fi
 
 if [ ! -f ~/.egoboo/setup.txt ]; then
-    cp -a "${EGOBOO_SHARED}/setup.txt" ~/.egoboo
+    cp "${EGOBOO_SHARED}/setup.txt" ~/.egoboo
 fi
 
 if [ ! -f ~/.egoboo/controls.txt ]; then
-    cp -a "${EGOBOO_SHARED}/controls.txt" ~/.egoboo
+    cp "${EGOBOO_SHARED}/controls.txt" ~/.egoboo
 fi
 
 if [ ! -d ~/.egoboo/players ]; then
-    cp -a "${EGOBOO_SHARED}/players" ~/.egoboo
+    cp -r "${EGOBOO_SHARED}/players" ~/.egoboo
 fi
 
 if [ ! -d ~/.egoboo/basicdat ]; then
