projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
333a34a
)
Add the date and time of the last sync to emerge --info output. Thanks to Pablo...
author
Zac Medico
<zmedico@gentoo.org>
Sat, 5 Aug 2006 22:08:57 +0000
(22:08 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 5 Aug 2006 22:08:57 +0000
(22:08 -0000)
svn path=/main/trunk/; revision=4174
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 71e7f8c65022407c9b76bed6dedfc0189abcf265..35e99363b19abfd2ce7bfcf4b143259f33e6915a 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-3040,6
+3040,13
@@
def action_info(settings, trees, myopts, myfiles):
os.system("cat /etc/gentoo-release")
else:
print "Unknown Host Operating System"
+ lastSync = portage.grabfile(os.path.join(
+ settings["PORTDIR"], "metadata", "timestamp.chk"))
+ print "Last Sync:",
+ if lastSync:
+ print lastSync[0]
+ else:
+ print "Unknown"
output=commands.getstatusoutput("distcc --version")
if not output[0]: