diff --git a/scripts/speedwm-core b/scripts/speedwm-core index f492f34..cbf2757 100755 --- a/scripts/speedwm-core +++ b/scripts/speedwm-core @@ -133,11 +133,13 @@ echo USE fi cd $SOURCEDIR + make patch_remove git stash git pull || FAIL_NOT_INSTALLED_USING_GIT + make patch_install clear - echo "speedwm requires root permissions briefly to run the following command:\nmake clean install\nEnter your password to allow this.\n" + printf "speedwm requires root permissions briefly to run the following command:\nmake clean install\nEnter your password to allow this.\n" su -c "make clean install" || FAIL_NO_AUTH echo 'speedwm has been updated!'