diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/pathological/pathological.install |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/pathological/pathological.install')
-rw-r--r-- | extra/pathological/pathological.install | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/pathological/pathological.install b/extra/pathological/pathological.install new file mode 100644 index 000000000..4bc716839 --- /dev/null +++ b/extra/pathological/pathological.install @@ -0,0 +1,29 @@ +post_install() { +if [ ! -e var/games/pathological_scores ]; then + cat << _EOF > var/games/pathological_scores +0 all-boards 1 John-Paul +0 all-boards 1 Kim +0 all-boards 1 Matths +0 all-boards 1 Carrie +0 all-boards 1 Mike +0 all-boards 1 Dale +0 all-boards 1 Alesh +0 all-boards 1 Thanks to +0 all-boards 1 everyone who +0 all-boards 1 contributed! +_EOF +fi + chown root:games var/games/pathological_scores + chmod 664 var/games/pathological_scores +} + +pre_upgrade() { + if [ -e usr/share/games/pathological/pathological_scores ]; then + mv usr/share/games/pathological/pathological_scores var/games/ + fi +} + +post_upgrade() { + chown root:games var/games/pathological_scores + chmod 664 var/games/pathological_scores +} |