ERL in corp app for fortage
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
347 B

# -*-coding: UTF-8 -*-
#!/usr/bin/env python3
import os
def scan():
for address, dirs, d in os.walk('/usr/portage/'):
for filename in d:
if filename.endswith(".ebuild"):
print( filename.replace(".ebuild", ""))
#return filename.replace(".ebuild", "")
if __name__ =='__main__':
scan()