Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 140163
Collapse All | Expand All

(-)/usr/bin/emerge (+7 lines)
Lines 3150-3158 Link Here
3150
# INFO action
3150
# INFO action
3151
elif "info"==myaction:
3151
elif "info"==myaction:
3152
	unameout=commands.getstatusoutput("uname -mrp")[1]
3152
	unameout=commands.getstatusoutput("uname -mrp")[1]
3153
	myportdir=portage.settings["PORTDIR"]
3153
	print getportageversion()
3154
	print getportageversion()
3154
	print "================================================================="
3155
	print "================================================================="
3155
	print "System uname: "+unameout
3156
	print "System uname: "+unameout
3157
	if os.path.exists(myportdir+"/metadata/timestamp.chk"):
3158
		lastsync=file(myportdir+"/metadata/timestamp.chk").read()
3159
		print "Last Sync: "+lastsync,
3160
	else:
3161
		print "Unknown Last Sync Date"
3162
3156
	if os.path.exists("/etc/gentoo-release"):
3163
	if os.path.exists("/etc/gentoo-release"):
3157
		os.system("cat /etc/gentoo-release")
3164
		os.system("cat /etc/gentoo-release")
3158
	else:
3165
	else:

Return to bug 140163