summaryrefslogtreecommitdiff
path: root/ec2-set-apt-sources.py
diff options
context:
space:
mode:
Diffstat (limited to 'ec2-set-apt-sources.py')
-rwxr-xr-xec2-set-apt-sources.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ec2-set-apt-sources.py b/ec2-set-apt-sources.py
index 6327a78b..d48e5167 100755
--- a/ec2-set-apt-sources.py
+++ b/ec2-set-apt-sources.py
@@ -61,7 +61,6 @@ def updateList(filename):
f.write('%s' %(t))
f.close()
- if not os.path.exists("/etc/apt/sources.list-ec2-init"):
os.system("mv /etc/apt/sources.list /etc/apt/sources.list-ec2-init")
os.symlink("/var/ec2/sources.list", "/etc/apt/sources.list")
cache = apt.Cache(apt.progress.OpProgress())