summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezjail-admin8
1 files changed, 6 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 557273e..3a6c5a4 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -1150,8 +1150,12 @@ install)
1150 # The easy case means, that a local distribution directory has been specified. 1150 # The easy case means, that a local distribution directory has been specified.
1151 1151
1152 if [ ${ezjail_release_major} -ge 9 ]; then 1152 if [ ${ezjail_release_major} -ge 9 ]; then
1153 [ -r "${ezjail_disturi}/${pkg}.txz" ] || exerr "Error: Can not access package file ${ezjail_disturi}/${pkg}.txz" 1153 if [ -r "${ezjail_disturi}/${pkg}.txz" ]; then
1154 xzdec ${ezjail_disturi}/${pkg}.txz | tar --unlink -xpJf - -C ${DESTDIR} 1154 xzdec ${ezjail_disturi}/${pkg}.txz | tar --unlink -xpJf - -C ${DESTDIR}
1155 else
1156 [ ${pkg} = "lib32" ] || exerr "Error: Can not access package file ${ezjail_disturi}/${pkg}.txz"
1157 echo "Warning: Can not access package file ${ezjail_disturi}/${pkg}.txz, ignored for auto added lib32."
1158 fi
1155 else 1159 else
1156 ezjail_makeabsolute ezjail_disturi 1160 ezjail_makeabsolute ezjail_disturi
1157 cd "${ezjail_disturi}/${pkg}" || exerr "Error: Could not cd to ${ezjail_disturi}/${pkg}." 1161 cd "${ezjail_disturi}/${pkg}" || exerr "Error: Could not cd to ${ezjail_disturi}/${pkg}."