workaround for toolbox bug
This commit is contained in:
parent
8031cf672d
commit
06d5066997
1 changed files with 5 additions and 0 deletions
|
@ -28,5 +28,10 @@ case "${1}" in
|
||||||
exit 0;;
|
exit 0;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
TOOLBOX_DIR_FIX="${HOME}/.local/share/containers/storage/volumes/"
|
||||||
|
if [ ! -d "${TOOLBOX_DIR_FIX}" ]; then
|
||||||
|
mkdir -p "${TOOLBOX_DIR_FIX}"
|
||||||
|
fi
|
||||||
|
|
||||||
podman build -t "${IMAGE}" -f "${BUILDFILE}"
|
podman build -t "${IMAGE}" -f "${BUILDFILE}"
|
||||||
distrobox create --name "${NAME}" --home "${HOME}/h/${NAME}" -i "localhost/${IMAGE}"
|
distrobox create --name "${NAME}" --home "${HOME}/h/${NAME}" -i "localhost/${IMAGE}"
|
||||||
|
|
Loading…
Reference in a new issue