File: preinst

package info (click to toggle)
golang-godebiancontrol-dev 0.0~git20140119-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-backports, jessie-kfreebsd, stretch
  • size: 84 kB
  • ctags: 14
  • sloc: makefile: 4; sh: 3
file content (6 lines) | stat: -rwxr-xr-x 238 bytes parent folder | download
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