From 40f8884fa8519842e1bfb249b6893704a6979700 Mon Sep 17 00:00:00 2001 From: deltax Date: Wed, 16 Aug 2017 22:03:18 +0200 Subject: [PATCH] Removed unused files --- install/remove.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 install/remove.py diff --git a/install/remove.py b/install/remove.py deleted file mode 100755 index 8898874..0000000 --- a/install/remove.py +++ /dev/null @@ -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")