add pipx apps and terrahour
This commit is contained in:
+13
-1
@@ -1,5 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
COREDESKTOP="$HOME/.local/share/coredesktop"
|
||||
|
||||
source "$COREDESKTOP/utils.sh"
|
||||
source "$COREDESKTOP/packages.conf"
|
||||
|
||||
STATUS=0
|
||||
|
||||
echo "Checking for new pipx applications..."
|
||||
install_pipx_apps "${PIPX[@]}" || STATUS=1
|
||||
|
||||
# pipx venvs are tied to the Python they were built with, so a Python upgrade
|
||||
# breaks them in a way `pipx upgrade-all` can't repair. Rebuild them when the
|
||||
# Python version changes, or when an upgrade fails.
|
||||
@@ -15,4 +25,6 @@ else
|
||||
echo "pipx upgrade-all failed, reinstalling pipx applications..."
|
||||
pipx reinstall-all
|
||||
fi
|
||||
fi && mkdir -p "$(dirname "$STAMP")" && echo "$CURRENT_PYTHON" > "$STAMP"
|
||||
fi && mkdir -p "$(dirname "$STAMP")" && echo "$CURRENT_PYTHON" > "$STAMP" || STATUS=1
|
||||
|
||||
exit $STATUS
|
||||
|
||||
Reference in New Issue
Block a user