feat(scripts): msgr helper script

This commit is contained in:
2023-09-28 17:13:44 +03:00
parent 10b18e8bcc
commit 0aff4784b1
4 changed files with 229 additions and 158 deletions

View File

@@ -4,6 +4,8 @@
# shellcheck source=shared.sh
source "$HOME/.dotfiles/scripts/shared.sh"
msg "Starting to install pip packages"
! have pip && {
msg_err "Could not find pip, something really terrible is going on." && exit 1
}
@@ -19,7 +21,10 @@ for pkg in "${packages[@]}"; do
# Skip comments
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
msg_nested "Installing pip package: $pkg"
python3 -m pip install --user "$pkg"
echo ""
done
msg_yay "Run pip package installation"