Removed unused files

This commit is contained in:
deltax 2017-08-16 22:03:18 +02:00 committed by GitHub
parent 6ab33a3c38
commit 40f8884fa8
1 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
#!/usr/bin/python
from os import remove
infile = "/etc/apt/sources.list"
outfile = "/etc/apt/sources.list"
delete_list = ["# Kali linux repositories | Added by Katoolin\n",
"deb http: // http.kali.org / kali kali - rolling main contrib non - free\n",
"deb http://repo.kali.org/kali kali-bleeding-edge main\n"]
fin = open(infile)
remove("/etc/apt/sources.list")
fout = open(outfile, "w+")
for line in fin:
for word in delete_list:
line = line.replace(word, "")
fout.write(line)
fin.close()
fout.close()
print("\033[1;31mDONE! \033[1;m")