Skip to content

Commit

Permalink
define varibles separately
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed May 6, 2024
1 parent a59624c commit 6b47943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions APP-MANAGER
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,8 @@ function _use_module() {
}

# Common variables to handle user's XDG directories
export SCRIPTDIR="$(if command -v xdg-user-dir &>/dev/null; then xdg-user-dir DESKTOP; else echo $HOME; fi)"

SCRIPTDIR="$(if command -v xdg-user-dir &>/dev/null; then xdg-user-dir DESKTOP; else echo $HOME; fi)"
export SCRIPTDIR
# DETERMINE WHEN TO USE "AM" OR "APPMAN"
if [[ "$DIR/$CLI" == "/usr/local/bin/am" ]] 2>/dev/null; then
_am
Expand Down

0 comments on commit 6b47943

Please sign in to comment.