File: postinst

package info (click to toggle)
purity 1-19
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 368 kB
  • ctags: 419
  • sloc: ansic: 820; makefile: 14; 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