File: postinst

package info (click to toggle)
xbomb 2.0-4.2
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 132 kB
  • ctags: 138
  • sloc: ansic: 1,058; makefile: 90; sh: 3
file content (11 lines) | stat: -rw-r--r-- 333 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Fix the owership & permission of /var/lib/games/xbomb if upgraded
# from 2.0-1.
chown root.games /var/lib/games/xbomb
chmod 770 /var/lib/games/xbomb

# Fix the permission of /var/lib/games/xbomb/* if upgraded
# from 2.0-{1,2}.  xbomb used to give write permission to all (pre 2.0-3)
chmod 660 /var/lib/games/xbomb/*.hi