[SCM] Packaging for Google Go branch, debian-sid, updated. debian/1%60.2-1-32-ga228561

Ondřej Surý ondrej at sury.org
Wed Apr 11 21:27:06 UTC 2012


The following commit has been merged in the debian-sid branch:
commit d563f5ee1f5bcf9998e18cf5c5ce96520152048b
Author: Ondřej Surý <ondrej at sury.org>
Date:   Wed Apr 11 23:21:43 2012 +0200

    Need to update timestamps at postinst time because already created directories can have time in the past

diff --git a/debian/golang-go.postinst b/debian/golang-go.postinst
index b1a69ef..9ef6506 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 {} \;
 	;;
     *)
 	;;

-- 
Packaging for Google Go



More information about the Pkg-google-commits mailing list