From 7bf6621e6e5388e95638e8b741d358c86bf80043 Mon Sep 17 00:00:00 2001
From: Phil <phil@secdev.org>
Date: Mon, 2 Nov 2009 22:55:04 +0100
Subject: [PATCH] Updated doc to speak about "corrupted zip" error

---
 doc/scapy/installation.rst | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/doc/scapy/installation.rst b/doc/scapy/installation.rst
index 8f6a5040..ae29033a 100644
--- a/doc/scapy/installation.rst
+++ b/doc/scapy/installation.rst
@@ -44,7 +44,7 @@ Make sure you have Python installed before you go on.
 Latest release
 --------------
 
-Download the `latest version <http://scapy.net>`_ to a temporary directory and install it in the standard `distutils <http://docs.python.org/inst/inst.html>`_ way::
+Download the `latest release <http://scapy.net>`_ to a temporary directory and install it in the standard `distutils <http://docs.python.org/inst/inst.html>`_ way::
 
 $ cd /tmp
 $ wget scapy.net 
@@ -55,8 +55,14 @@ $ sudo python setup.py install
 Alternatively, you can make the zip file executable, move it to a directory in your PATH and run it directly::
 
 $ chmod +x scapy-latest.zip
-$ mv scapy-latest.zip /usr/local/bin/scapy
-$ sudo scapy
+$ sudo ./scapy-latest.zip
+
+.. note::
+
+   To make a zip executable, some bytes have been added before the zip header.
+   Most zip programs handle this, but not all. If your zip program complains
+   about the zip file to be corrupted, either change it, or download a 
+   non-executable zip at http://hg.secdev.org/scapy/archive/tip.zip
  
 Current development version
 ----------------------------
-- 
GitLab