aboutsummaryrefslogtreecommitdiff
path: root/games/tuxracer_golf/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'games/tuxracer_golf/pkg-install')
-rw-r--r--games/tuxracer_golf/pkg-install13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/tuxracer_golf/pkg-install b/games/tuxracer_golf/pkg-install
new file mode 100644
index 000000000000..0803b21d58ef
--- /dev/null
+++ b/games/tuxracer_golf/pkg-install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+case "$2" in
+PRE-INSTALL)
+ DATADIR=${PKG_PREFIX}/share/tuxracer_golf
+ mkdir ${DATADIR}
+ mkdir ${DATADIR}/common.old
+ cp ${PKG_PREFIX}/share/tuxracer/courses/common/*rgb \
+ ${DATADIR}/common.old
+ ;;
+esac
+
+exit 0