postinst is in golang-google-cloud-compute-metadata-dev 0.9.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 8 9 10 11 12 13 14 | #!/bin/sh
set -e
# There used to be a compatibility symlink, now replaced by a directory.
if dpkg-maintscript-helper supports symlink_to_dir; then
dpkg-maintscript-helper symlink_to_dir \
/usr/share/gocode/src/cloud.google.com/go ../google.golang.org/cloud \
0.5.0-1~ golang-google-cloud-compute-metadata-dev -- "$@"
fi
exit 0
|