--- bin/emerge 2007/01/08 19:15:12 1.1 +++ bin/emerge 2007/01/08 19:17:43 @@ -3297,12 +3297,14 @@ def chk_updated_info_files(root, infodir for inforoot in regen_infodirs: if inforoot=='': continue - try: - os.rename(inforoot+"/dir",inforoot+"/dir.old") - except SystemExit, e: - raise # Needed else can't exit - except: - pass + for suffix in ("", ".gz"): + try: + os.rename("%s/dir%s" % (infodir, suffix), + "%s/dir%s.old" % (infodir, suffix)) + except SystemExit, e: + raise # Needed else can't exit + except: + pass if not os.path.isdir(inforoot): continue