mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-02-22 16:05:54 +00:00
fixed permission error
This commit is contained in:
parent
53676249e8
commit
68b9c32a06
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue