summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2015-04-15 01:24:31 +0200
committerDirk Engling <erdgeist@erdgeist.org>2015-04-15 01:24:31 +0200
commitc520f88754d0945725609a5bfd4d7e5cb860c163 (patch)
tree38685f53120363147d819416a522f91ad3431dab
parent777cc292bf1f10859d5d233762672953f97e79c7 (diff)
Do not fail on file:/// linked packages, if only the auto added lib32 package is missingRELEASE_3_4_2
-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}."