This file is indexed.

postinst is in uec-provisioning-mirror 0.5.

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
#!/bin/sh -e

if [ ! -e /etc/uec-provisioning/mirrors.cfg ]; then
	# Seed the mirror configuration, if it doesn't exist
	ipaddr=$(/usr/lib/uec-provisioning/ip_helper address)
	sed -e "s/__IPADDR__/$ipaddr/g" /usr/share/uec-provisioning/mirrors.cfg.template > /etc/uec-provisioning/mirrors.cfg
fi