This file is indexed.

postinst is in powerwake 2.18-0ubuntu2.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#!/bin/sh -e

PKG="powerwake"

if [ "$1" = configure ] || [ "$1" = reconfigure ]; then
	getent group admin > /dev/null 2>&1 || addgroup --system --quiet admin
	mkdir -p /var/cache/$PKG
	touch /var/cache/$PKG/ethers
	chown root:admin /var/cache/$PKG/ethers
	chmod 664 /var/cache/$PKG/ethers
fi