File: postinst

package info (click to toggle)
purity 1-18
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 360 kB
  • ctags: 421
  • sloc: ansic: 820; makefile: 53; sh: 11
file content (10 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

#DEBHELPER#
if [ ! -f /var/games/purity.scores ]
then
	touch /var/games/purity.scores
	chmod 660 /var/games/purity.scores
	chown root:games /var/games/purity.scores;
fi