summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2012-04-11 23:21:43 +0200
committerOndřej Surý <ondrej@sury.org>2012-04-11 23:22:18 +0200
commitd563f5ee1f5bcf9998e18cf5c5ce96520152048b (patch)
tree3e45fc594fca65e350bf4cfdbbd536101da69f76
parent4ede7ca2d1f04fcde10c601d39653270355fa632 (diff)
downloadgolang-d563f5ee1f5bcf9998e18cf5c5ce96520152048b.tar.gz
Need to update timestamps at postinst time because already created directories can have time in the past
-rw-r--r--debian/golang-go.postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/golang-go.postinst b/debian/golang-go.postinst
index b1a69efbd..9ef650615 100644
--- a/debian/golang-go.postinst
+++ b/debian/golang-go.postinst
@@ -62,6 +62,8 @@ case "$1" in
rm $conffile.new
fi
fi
+ # Very ugly hack to set timestamps same as /usr/bin/go
+ find /usr/lib/go/pkg -exec touch -r /usr/bin/go {} \;
;;
*)
;;