Skip to content

Commit

Permalink
fix plugin selection
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxnor committed Feb 19, 2022
1 parent 3930f2f commit 3d71915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ case "${command}" in
man_extension="${man##*.}"
cp "${man}" "${man_dir}/man${man_extension}"
done
if [ -n "${plugin}" ] || [ -n "${pnionjuggler_plugin}" ]; then
if [ -n "${plugin}" ] || [ -n "${onionjuggler_plugin}" ]; then
## overwrite default plugins with the ones specified on the cli, else use conf
{ [ -n "${pnionjuggler_plugin}" ] && [ -z "${plugin}" ]; } && plugin="${onionjuggler_plugin}"
{ [ -n "${onionjuggler_plugin}" ] && [ -z "${plugin}" ]; } && plugin="${onionjuggler_plugin}"
cp "${topdir}"/usr/bin/onionjuggler-tui "${topdir}"/usr/bin/onionjuggler-cli "${bin_dir}"
for pg in $(printf '%s\n' "${plugin}" | tr "," " "); do
pg="${pg##*onionjuggler-cli-}"
Expand Down

0 comments on commit 3d71915

Please sign in to comment.