mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-13 00:52:46 +00:00
feat(scripts): msgr helper script
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user