From 284147bdbd37e1b284b8f64f8a0bde2ac24f42ff Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Thu, 13 Apr 2023 00:59:16 +0200 Subject: [PATCH] Pas besoin de pip --- share/updateall/commands.d/.pip | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 share/updateall/commands.d/.pip diff --git a/share/updateall/commands.d/.pip b/share/updateall/commands.d/.pip deleted file mode 100644 index 159a84f..0000000 --- a/share/updateall/commands.d/.pip +++ /dev/null @@ -1,13 +0,0 @@ -# Gathering the outdated packages list -echo "Gathering the outdated packages list..." -py_pkglist=$(pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d '=' -f 1) - -# Updating -if [ ! -z "$py_pkglist" ]; then - echo $py_pkglist | xargs -n 1 pip3 install -U -else - echo "All packages are up to date." -fi - -# Unsetting the variable -unset py_pkglist