blob: 543f4b2148ef21fb49765e91872fc9d936616e6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
[ "$2" != "POST-INSTALL" ] && exit 0
scripts_file=$PKG_PREFIX/lib/linux-savage-samuraiwars/scripts.log
startup_file=$PKG_PREFIX/lib/linux-savage-samuraiwars/game/startup.cfg
if ! [ -e $scripts_file ]; then
touch $scripts_file
chown root:wheel $scripts_file 2>/dev/null
chmod 666 $scripts_file
fi
if ! [ -e $startup_file ]; then
touch $startup_file
chown root:wheel $startup_file 2>/dev/null
chmod 666 $startup_file
fi
|