dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 3028daed219cc7f28708308feabb3f1b106f51a0
parent 353be59c459b816603d3daf4bba0dce40670fcca
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sun,  5 May 2019 16:55:26 +0200

updatemaster: remove unnecessary updates

Former-commit-id: a4a0332d896d6b5d5210e8b8a605562752a8a124
Diffstat:
Mscripts/updatemaster | 28----------------------------
1 file changed, 0 insertions(+), 28 deletions(-)

diff --git a/scripts/updatemaster b/scripts/updatemaster @@ -96,18 +96,6 @@ if ! command -v notify &> /dev/null; then fi # }}} -# Pre-authorize sudo {{{ -trap exit INT -echo -e "Root permissions will be needed for global pip update.\n" -if sudo -v; then - sudo_auth=1 -else - sudo_auth=0 -fi -trap - INT -echo -# }}} - # Homebrew {{{ echo_progress "Homebrew update/upgrade." if command -v brew &> /dev/null; then @@ -273,22 +261,6 @@ fi hr -# Global (sudo) pip {{{ -echo_progress "Global pip." -if [ $sudo_auth -eq 1 ]; then - if command -v sudo -H pip list &> /dev/null; then - sudo -H pip freeze | grep -v '^\-e' | cut -d = -f 1 | xargs sudo -H pip install -U - echo_succ "Global pip upgrade complete." - else - echo -e "Cannot upgrade global pip packages. Please do so manually." - fi -else - echo -e "Sudo not authorised." -fi -# }}} - -hr - # Atom editor packages {{{ if command -v apm &> /dev/null; then echo_progress "Atom package upgrades"