Package: apt-zip
Version: 0.13.2

apt-zip-inst does not work in tar mode.
It tries to find ${APTZIPINSFILE} in /var/cache/apt/archives
and, of course, fails.

Here is my patch:

---------------------------------------------------------------------------
--- /usr/sbin/apt-zip-inst      2001-11-02 12:39:26.000000000 +0300
+++ /home/kornilov/tmp/apt-zip-inst     2006-03-01 10:32:15.000000000 +0300
@@ -17,6 +17,7 @@ then
     cd /var/cache/apt/archives
     echo >&2 "Unpacking tarball..."
     tar xf ${MEDIUM}/${APTZIPTARFILE}
+    cd ${MEDIUM}
 else
     APTGETCACHE="-o dir::cache::archives=${MEDIUM}"
     APTZIPINSFILE="${MEDIUM}/${APTZIPINSFILE}"
---------------------------------------------------------------------------


I am using Debian 3.1.

--
Yuri I. Kornilov



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to