[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in ezjail-admin



Hello.

There is a small misprint in ezjail-admin, proposed patch below:


--- ezjail-admin.orig	2012-04-24 10:58:45.000000000 +0400
+++ ezjail-admin	2012-04-24 10:58:57.000000000 +0400
@@ -1037,7 +1037,7 @@
     else
       if [ ${ezjail_release_major} -ge 9 ]; then
         [ -r "${ezjail_reldir}/${ezjail_dir}/${pkg}.txz" ] || exerr "Error: Can not access package file ${ezjail_reldir}/${ezjail_dir}/${pkg}.txz"
-        xzdec $ ${ezjail_reldir}/${ezjail_dir}/${pkg}.txz | tar --unlink -xpJf - -C ${DESTDIR}
+        xzdec ${ezjail_reldir}/${ezjail_dir}/${pkg}.txz | tar --unlink -xpJf - -C ${DESTDIR}
       else
         cd "${ezjail_reldir}/${ezjail_dir}/${pkg}" || exerr "Error: Could not cd to ${ezjail_dir}."
         [ "${pkg}" = "base" ] && echo "Ignore the next question, ezjail answers it for you."


-- 
Cheers,
Oleg A. Mamontov

mailto:  oleg AT mamontov DOT net

jabber:  lonerr AT charla.mamontov DOT net
icq uin: 79-521-617
cell:    +7-903-798-1352