Install mackup
only on clients
Non-clients do not have access to my internal cloud folders => check if one of them exists or not to determine client vs. server
This commit is contained in:
parent
62dd123226
commit
6e0c93760a
1 changed files with 14 additions and 10 deletions
|
@ -41,6 +41,8 @@ if _command_exists pip; then
|
||||||
# Ensure `pipx` is installed in the user's local environment
|
# Ensure `pipx` is installed in the user's local environment
|
||||||
pip install --upgrade --user pipx
|
pip install --upgrade --user pipx
|
||||||
|
|
||||||
|
if [ -d "$HOME/data/getraenkemarkt" ]; then
|
||||||
|
|
||||||
# (Re-)Install `mackup` via `pipx` in the user's local environment
|
# (Re-)Install `mackup` via `pipx` in the user's local environment
|
||||||
export PIPX_BIN_DIR=$XDG_BIN_HOME
|
export PIPX_BIN_DIR=$XDG_BIN_HOME
|
||||||
export PIPX_HOME="$XDG_DATA_HOME/pipx"
|
export PIPX_HOME="$XDG_DATA_HOME/pipx"
|
||||||
|
@ -56,6 +58,8 @@ if _command_exists pip; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if _command_exists zsh; then
|
if _command_exists zsh; then
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue