|
|
@ -361,6 +361,7 @@ END
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$HAVE_QEMU" = "yes" ]; then
|
|
|
|
# now replace the minihttpd config with one that serves the new repository
|
|
|
|
# now replace the minihttpd config with one that serves the new repository
|
|
|
|
# create a temporary directory because "copy-in" cannot rename the file
|
|
|
|
# create a temporary directory because "copy-in" cannot rename the file
|
|
|
|
tmpdir="$(mktemp -d)"
|
|
|
|
tmpdir="$(mktemp -d)"
|
|
|
@ -371,6 +372,7 @@ END
|
|
|
|
guestfish -a "$newcachedir/debian-unstable.qcow" -i copy-in "$tmpdir/mini-httpd" /etc/default
|
|
|
|
guestfish -a "$newcachedir/debian-unstable.qcow" -i copy-in "$tmpdir/mini-httpd" /etc/default
|
|
|
|
rm "$tmpdir/mini-httpd"
|
|
|
|
rm "$tmpdir/mini-httpd"
|
|
|
|
rmdir "$tmpdir"
|
|
|
|
rmdir "$tmpdir"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# delete possibly leftover symlink
|
|
|
|
# delete possibly leftover symlink
|
|
|
|
if [ -e ./shared/cache.tmp ]; then
|
|
|
|
if [ -e ./shared/cache.tmp ]; then
|
|
|
|