workaround for toolbox bug

This commit is contained in:
Morgan McMillian 2024-08-16 17:44:58 -07:00
parent 8031cf672d
commit 06d5066997

View file

@ -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}"