Skip to content

Commit

Permalink
[fix] : Fixed var name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Dec 27, 2020
1 parent 6cfab4b commit 80f281a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alterlinux-desktop-file/alterlinux-desktop-file
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ get_desktop_dir() {
if [[ -v XDG_CONFIG_HOME ]]; then
_user_config_dir="${XDG_CONFIG_HOME}"
else
_use_config_dir="${HOME}/.config"
_user_config_dir="${HOME}/.config"
fi
if [[ -f "${_use_config_dir}/user-dirs.dirs" ]]; then
source "${_use_config_dir}/user-dirs.dirs"
if [[ -f "${_user_config_dir}/user-dirs.dirs" ]]; then
source "${_user_config_dir}/user-dirs.dirs"
fi
if [[ -v XDG_DESKTOP_DIR ]]; then
_desktop_dir="${XDG_DESKTOP_DIR}"
Expand Down

0 comments on commit 80f281a

Please sign in to comment.