Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 93467 Details for
Bug 140163
timestamp in emerge --info
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
emerge prints when last sync happened.
emerge.patch (text/plain), 697 bytes, created by
Pablo Antonio
on 2006-08-04 20:23:02 UTC
(
hide
)
Description:
emerge prints when last sync happened.
Filename:
MIME Type:
Creator:
Pablo Antonio
Created:
2006-08-04 20:23:02 UTC
Size:
697 bytes
patch
obsolete
>--- /usr/bin/emerge 2006-08-04 23:02:27.000000000 -0300 >+++ /usr/bin/emerge.new 2006-08-05 00:01:53.000000000 -0300 >@@ -3150,9 +3150,16 @@ > # INFO action > elif "info"==myaction: > unameout=commands.getstatusoutput("uname -mrp")[1] >+ myportdir=portage.settings["PORTDIR"] > print getportageversion() > print "=================================================================" > print "System uname: "+unameout >+ if os.path.exists(myportdir+"/metadata/timestamp.chk"): >+ lastsync=file(myportdir+"/metadata/timestamp.chk").read() >+ print "Last Sync: "+lastsync, >+ else: >+ print "Unknown Last Sync Date" >+ > if os.path.exists("/etc/gentoo-release"): > os.system("cat /etc/gentoo-release") > else:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140163
: 93467