| 1 |
#! /bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
# 2021-01-22 11:58 +0100 Sérgio M. Basto o io: Save highscore in ~/.config/emilia |
| 6 |
# |
| 7 |
# openat(AT_FDCWD, "/home/tchet/.config/emilia/professor.highscores", O_RDONLY) = 48 |
| 8 |
# strings /usr/games/pinball | grep /var |
| 9 |
# strings /usr/games/pinball | grep emilia |
| 10 |
# /.config/emilia/ |
| 11 |
|
| 12 |
# drop leftover empty scoreboards, it's way too late |
| 13 |
# to attempt a proper automatic migration now |
| 14 |
if [ "$1" = "configure" ] ; then |
| 15 |
if test -d /var/games/pinball |
| 16 |
then |
| 17 |
find /var/games/pinball/ -empty -delete |
| 18 |
fi |
| 19 |
if test -d /var/games |
| 20 |
then |
| 21 |
rmdir --ignore-fail-on-non-empty /var/games/ |
| 22 |
fi |
| 23 |
fi |
| 24 |
|
| 25 |
#DEBHELPER# |