Skip to content

Commit

Permalink
fix: reversed _mv to _cp for font URI
Browse files Browse the repository at this point in the history
  • Loading branch information
t0pd4wn committed Mar 24, 2024
1 parent e69374c commit 5613cd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file modified dist/loco-dist.zip
Binary file not shown.
3 changes: 3 additions & 0 deletions profiles/full-classic/custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ set_ubuntu_style(){
cmd::record "gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view';"
cmd::record "gsettings set org.gnome.nautilus.list-view use-tree-view true;"
cmd::record "gsettings set org.gnome.nautilus.preferences default-sort-order 'type';"
if [[ "${SHORT_OS_VERSION}" -ge 23 ]]; then
msg::record 'You may need to reboot your system to refresh fonts.'
fi
}

unset_ubuntu_style(){
Expand Down
4 changes: 1 addition & 3 deletions src/code/modules/loco_fonts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,9 @@ loco::fonts_action_install_yaml(){
# copy new font to URI filename
local font_URI_name=$(utils::string_cut_rev "${font}" "/" "1")
local font_clear_name=$(utils::decode_URI "${font_URI_name}")
echo "${fonts_path}/${font_clear_name}"
echo "${fonts_path}/${font_URI_name}"
local from="${fonts_path}/${font_clear_name}"
local to="${fonts_path}/${font_URI_name}"
_mv "'""${from}""'" "${to}"
_cp "'""${from}""'" "${to}"
fi
fi

Expand Down

0 comments on commit 5613cd7

Please sign in to comment.