Обновление контейнера avivace/iosevka-build

This commit is contained in:
Andrei Astafev 2023-04-24 11:34:10 +03:00
parent 4352e9b403
commit 5954189b18

View File

@ -14,9 +14,9 @@ OUT_DIR="${DIST}/${FONT_NAME}/ttf"
if [ -r "${CONFIG}" ]; then if [ -r "${CONFIG}" ]; then
if command -v docker >/dev/null 2>&1; then if command -v docker >/dev/null 2>&1; then
# docker pull avivace/iosevka-docker docker pull avivace/iosevka-build
docker pull nerdfonts/patcher docker pull nerdfonts/patcher
docker run -e FONT_VERSION="${IOSEVKA_VERSION}" -it -v "$DIR":/build avivace/iosevka-build -- ttf::${FONT_NAME} docker run -e FONT_VERSION="${IOSEVKA_VERSION}" -it -v "$DIR":/build avivace/iosevka-build ttf::${FONT_NAME}
sudo chown -R "$(id -u)":"$(id -g)" "${DIST}" sudo chown -R "$(id -u)":"$(id -g)" "${DIST}"
mkdir -p "${OBLIQUE}" mkdir -p "${OBLIQUE}"
cp -af "${OUT_DIR}/${FONT_NAME}-oblique.ttf" "${OBLIQUE}" cp -af "${OUT_DIR}/${FONT_NAME}-oblique.ttf" "${OBLIQUE}"