Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bee: Always find beeuniq (if not in PATH)
  • Loading branch information
mariux committed Dec 1, 2015
1 parent f4f783f commit 56cd40c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hooks/mandb.sh
Expand Up @@ -43,7 +43,7 @@ fi
: ${man_dirs:=${PKG_MANDIR}}
: ${man_dirs:=${XDG_DATA_DIRS//:/\/man:}/man}

for man_dir in $(beeuniq ${man_dirs//:/ }) ; do
for man_dir in $(${BEE_BINDIR}/beeuniq ${man_dirs//:/ }) ; do
case "${action}" in
"post-remove"|"post-install")
if grep -q "file=${man_dir}" ${content} ; then
Expand Down
4 changes: 2 additions & 2 deletions src/beelib.config.sh.in
Expand Up @@ -91,8 +91,8 @@ function config_init_base_config() {
XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS}:${BEE_CONFIG_DIR}

# remove dupes from pathes
XDG_CONFIG_DIRS=$(beeuniq -d : ${XDG_CONFIG_DIRS//:/ })
XDG_DATA_DIRS=$(beeuniq -d : ${XDG_DATA_DIRS//:/ })
XDG_CONFIG_DIRS=$(${BEE_BINDIR}/beeuniq -d : ${XDG_CONFIG_DIRS//:/ })
XDG_DATA_DIRS=$(${BEE_BINDIR}/beeuniq -d : ${XDG_DATA_DIRS//:/ })
}


Expand Down

0 comments on commit 56cd40c

Please sign in to comment.