littlejeem / control_scripts

A collection of scripts that control functions, primarily on my media pc
GNU General Public License v3.0
0 stars 0 forks source link

sync_settings.sh - location of beets executable #5

Open littlejeem opened 3 years ago

littlejeem commented 3 years ago

Needs to find a way to account for a vared path of the 'beets' executable.

For instance, using the variable with value as follows...

beets_path="$HOME/.local/bin/beet"

...works fine after using beets_install.sh script.

However installing beets by using ubuntu package manager:

sudo apt install beets

then populating same variable with whereis returned path so is:

beets_path="/usr/share/beets"

fails in a called USER script