From 5aa6589c3415b72904482802efed24b8dc7bf03f Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 29 Jan 2023 05:30:28 +0100 Subject: [PATCH] treewide: fonts: remove unused mkdir --- pkgs/data/fonts/cozette/default.nix | 1 - pkgs/data/fonts/d2coding/default.nix | 1 - pkgs/data/fonts/eb-garamond/default.nix | 1 - pkgs/data/fonts/gentium-book-basic/default.nix | 1 - pkgs/data/fonts/hanazono/default.nix | 1 - pkgs/data/fonts/wqy-zenhei/default.nix | 3 +-- 6 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pkgs/data/fonts/cozette/default.nix b/pkgs/data/fonts/cozette/default.nix index 03670a1c917d..29ecabe9de2c 100644 --- a/pkgs/data/fonts/cozette/default.nix +++ b/pkgs/data/fonts/cozette/default.nix @@ -12,7 +12,6 @@ stdenvNoCC.mkDerivation rec { installPhase = '' runHook preInstall - mkdir -p $out/share/fonts install -Dm644 *.ttf -t $out/share/fonts/truetype install -Dm644 *.otf -t $out/share/fonts/opentype install -Dm644 *.bdf -t $out/share/fonts/misc diff --git a/pkgs/data/fonts/d2coding/default.nix b/pkgs/data/fonts/d2coding/default.nix index 9742e5c241fa..84af3d18bfe4 100644 --- a/pkgs/data/fonts/d2coding/default.nix +++ b/pkgs/data/fonts/d2coding/default.nix @@ -13,7 +13,6 @@ stdenvNoCC.mkDerivation rec { installPhase = '' runHook preInstall - mkdir -p $out/share/fonts install -Dm644 */*-all.ttc -t $out/share/fonts/truetype/ runHook postInstall diff --git a/pkgs/data/fonts/eb-garamond/default.nix b/pkgs/data/fonts/eb-garamond/default.nix index 6e5d09c9bcc8..7a57d9308cf9 100644 --- a/pkgs/data/fonts/eb-garamond/default.nix +++ b/pkgs/data/fonts/eb-garamond/default.nix @@ -12,7 +12,6 @@ stdenvNoCC.mkDerivation rec { installPhase = '' runHook preInstall - mkdir -p $out/share/{doc,fonts} install -Dm644 otf/*.otf -t $out/share/fonts/opentype install -Dm644 Changes README.markdown README.xelualatex -t $out/share/doc/${pname}-${version} diff --git a/pkgs/data/fonts/gentium-book-basic/default.nix b/pkgs/data/fonts/gentium-book-basic/default.nix index 96e9789cd115..5cbc31accf07 100644 --- a/pkgs/data/fonts/gentium-book-basic/default.nix +++ b/pkgs/data/fonts/gentium-book-basic/default.nix @@ -12,7 +12,6 @@ stdenvNoCC.mkDerivation rec { installPhase = '' runHook preInstall - mkdir -p $out/share/{doc,fonts} install -Dm644 *.ttf -t $out/share/fonts/truetype install -Dm644 FONTLOG.txt GENTIUM-FAQ.txt -t $out/share/doc/${pname}-${version} diff --git a/pkgs/data/fonts/hanazono/default.nix b/pkgs/data/fonts/hanazono/default.nix index fc499534d1e3..f6dd5baa60c2 100644 --- a/pkgs/data/fonts/hanazono/default.nix +++ b/pkgs/data/fonts/hanazono/default.nix @@ -13,7 +13,6 @@ stdenvNoCC.mkDerivation rec { installPhase = '' runHook preInstall - mkdir -p $out/share/{doc,fonts} install -Dm644 *.ttf -t $out/share/fonts/truetype install -Dm644 *.txt -t $out/share/doc/hanazono diff --git a/pkgs/data/fonts/wqy-zenhei/default.nix b/pkgs/data/fonts/wqy-zenhei/default.nix index a5106b5e6b18..c59f74d45474 100644 --- a/pkgs/data/fonts/wqy-zenhei/default.nix +++ b/pkgs/data/fonts/wqy-zenhei/default.nix @@ -12,8 +12,7 @@ stdenvNoCC.mkDerivation rec { installPhase = '' runHook preInstall - mkdir -p $out/share/fonts - install -m644 *.ttc $out/share/fonts/ + install -Dm644 *.ttc -t $out/share/fonts/ runHook postInstall '';