1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 02:17:38 +03:00

Fix linux-setup.sh

$HOME/bin should be $HOME/.local/bin
This commit is contained in:
Jimmy Adams 2025-01-22 18:18:07 -05:00 committed by GitHub
parent 11d4c0cca1
commit 4d3654e504
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,14 +13,14 @@
#######################################################
# Determine where edmarketconnector.sh needs to go
#######################################################
# Really we need this to be "${HOME}/bin", so check that is in $PATH
if [[ ":$PATH:" != *":$HOME/bin:"* ]];
# Really we need this to be "${HOME}/.local/bin", so check that is in $PATH
if [[ ":$PATH:" != *":$HOME/.local/bin:"* ]];
then
echo "You need to have '${HOME}/bin' in your PATH"
echo "You need to have '${HOME}/.local/bin' in your PATH"
echo "Please fix this (might require relogging) and try again"
exit 1
fi
EDMC_BIN_PATH="${HOME}/bin"
EDMC_BIN_PATH="${HOME}/.local/bin"
if [ ! -d "${EDMC_BIN_PATH}" ];
then
echo "'${EDMC_BIN_PATH}' must exist and be a directory!"