diff --git a/desktop/install b/desktop/install index 02dac0f..4cdb6f4 100755 --- a/desktop/install +++ b/desktop/install @@ -25,7 +25,7 @@ function install_source_han_mono_fonts() { home=$(eval "echo ~${SUDO_USER:-}") fonts_dir="$home/.local/share/fonts" fontconfig_dir="$home/.config/fontconfig/conf.d" - mkdir -p "$fonts_dir" "$fontconfig_dir" + sudo --user="#$uid" mkdir -p "$fonts_dir" "$fontconfig_dir" sudo --user="#$uid" \ curl \ -fsSL https://github.com/adobe-fonts/source-han-mono/releases/download/1.002/SourceHanMono.ttc \