X-Git-Url: https://arthur.barton.de/gitweb/?p=ConfigScripts.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=6786ba64cd2497bb7336308196936f5f2df8edeb;hp=1ca1b33bd38f52138ecc9df7eeb2e88b18ffcc6f;hb=6ea4afde270aee50345e7bb6fa0936eee9925307;hpb=becd982a7c9314081ecdaf84cc64e769bb885b35 diff --git a/Makefile b/Makefile index 1ca1b33..6786ba6 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,14 @@ install: install-local: sh ./install.sh --local +upgrade: + @fgrep "alex@barton.de" /etc/profile >/dev/null 2>&1 \ + && sudo make install \ + || echo "*** Upgrade: System configuration skipped." + @fgrep "alex@barton.de" ~/.bash_logout >/dev/null 2>&1 \ + && make install \ + || echo "*** Upgrade: User configuration skipped." + clean: check: