preinst is in golang-godebiancontrol-dev 0.0~git20140119-1.
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 | #!/bin/sh
# This file is replaced by a symlink
if [ "$1" = "install" ] || [ "$1" = "upgrade" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "0.0~git20140119-1"; then
rm -rf /usr/share/gocode/src/github.com/mstap/godebiancontrol
fi
|