View | Details | Raw Unified | Return to bug 194624 | Differences between
and this patch

Collapse All | Expand All

(-)files/pkg-install.in (-2 / +11 lines)
Lines 1-10 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
# $FreeBSD$
4
3
GAMESROOT=/var/games/emacs
5
GAMESROOT=/var/games/emacs
6
ARCHLIBDIR=%%ARCHLIBDIR%%
4
7
5
if [ "$2" = "POST-INSTALL" ]; then
8
if [ "$2" = "POST-INSTALL" ]; then
6
   touch $GAMESROOT/snake-scores
9
    umask 022
7
   touch $GAMESROOT/tetris-scores
10
    mkdir -p $GAMESROOT
11
    touch $GAMESROOT/snake-scores
12
    touch $GAMESROOT/tetris-scores
13
    chown games $ARCHLIBDIR/update-game-score
14
    chmod u+s $ARCHLIBDIR/update-game-score
15
    chown games $GAMESROOT
16
    chmod 775 $GAMESROOT
8
fi
17
fi
9
18
10
exit 0
19
exit 0
(-)pkg-install (-10 lines)
Lines 1-10 Link Here
1
#!/bin/sh
2
3
GAMESROOT=/var/games/emacs
4
5
if [ "$2" = "POST-INSTALL" ]; then
6
   touch $GAMESROOT/snake-scores
7
   touch $GAMESROOT/tetris-scores
8
fi
9
10
exit 0

Return to bug 194624