File: postinst

package info (click to toggle)
prime-net 19.1-2
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 308 kB
  • sloc: sh: 126; makefile: 52
file content (21 lines) | stat: -rw-r--r-- 414 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh -e

# Note that this may never be removed from the postinst, as it's cleaning up 
# after old mistakes.

# No old mistakes yet

# End of old mistakes cleanup.

if [ ! -f /var/log/prime-net.log ]
then
	touch /var/log/prime-net.log
	chown daemon.daemon /var/log/prime-net.log
	chmod 0644 /var/log/prime-net.log
fi

if [ ! -e /var/lib/prime-net/prime.ini ]; then
	/usr/sbin/prime-net-config
fi

#DEBHELPER#