summaryrefslogtreecommitdiff
path: root/tools/check_for_upgrade.sh
AgeCommit message (Collapse)Author
2016-08-09Replace /bin/sh with sh for portability (#5291)Fredrik Fornwall
This makes things work even on system lacking /bin/sh, such as on non-rooted Android systems.
2015-11-29Merge pull request #4207 from mpscholten/masterMarc Cornellà
Also accept any forms of yes as an answer to the "do you want to update?" prompt
2015-10-16Check for git before trying to upgrade, as per #4504Arvind Chembarpu
2015-08-03Also accept any forms of yes as an answer to the "do you want to update?" promptMarc Scholten
2015-06-10No input for Update Check defaults to YesHeroCC
2014-12-15fix(tools/check_for_upgrade): Don't source profileMark Feltner
Reverts #2296, but mostly #1883. There is no need to source ~/.profile when this script is read. oh-my-zsh writes no configuration data in ~/.profile. If the user wishes to use data within ~/.profile, then they should source it in another place. Fixes #2315
2014-11-06Merge pull request #2946 from moinakg/masterRobby Russell
Solaris portability tweaks.
2014-10-14Change to epoch target in days instead of seconds.Moinak Ghosh
2014-09-17Convert epoch_target from days to seconds.Moinak Ghosh
2014-09-16Update Solaris changes to use OSTYPE and zsh datetime module.Moinak Ghosh
2014-08-20Replace /usr/bin/env with envFredrik Fornwall
Some environments (such as Android) does not have /usr/bin.
2014-07-11Solaris portability tweaks.Moinak Ghosh
2014-06-04Cancel upgrade if $ZSH is not writablen.st
from #2360
2014-05-24fix(tools/check_for_upgrade): Don't source profileMark Feltner
Reverts #2296, but mostly #1883. There is no need to source ~/.profile when this script is read. oh-my-zsh writes no configuration data in ~/.profile. If the user wishes to use data within ~/.profile, then they should source it in another place. Fixes #2315
2014-05-24Write the update file even if `CLOBBER` is unset.Adam Luikart
2013-12-18Revert "Cancel update if the current user doesn't have write permissions for ↵Robby Russell
the oh-my-zsh directory." This reverts commit 152e1e07e0397ecc3f1778ea597d081c33ee8ff4.
2013-12-18Cancel update if the current user doesn't have write permissions for the ↵n.st
oh-my-zsh directory.
2013-12-03source ~/.profile only if it existsPatrick Stadler
2013-06-11source ~/.profile for upgrading (to source the proxy configuration)Gaetan Semet
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2012-11-26Add UPDATE_ZSH_DAYS settingEric Danielson
2012-07-20auto-upadate feature will now reset the epoch so that if a user doesn't say ↵Robby Russell
yes, it won't ask them again for a while. fixes #1240
2012-05-31Now with 50% less auto-updates.Robby Russell
2011-11-15Added option to disable the update prompt. Set DISABLE_UPDATE_PROMPT to true ↵Graham McMillan
to enable.
2011-08-17Fix auto upgrade failure from non-exported ZSH env varTim Taylor
Fixes #549. Specify ZSH=$ZSH explicitly when invoking the auto update scripts.
2011-04-29fixed autoupdatenebirhos
2011-02-04Fixed auto update.Christopher Chow
Paramater substitution instead of command subsitution was being used causing the calculation of time since last check to be incorrect.
2009-12-12Updating check_for_upgrade script to fix issue when the LAST_EPOCH ↵Robby Russell
file/value got corrupted. Closes #32
2009-10-11Replaced source with .Gerhard Lazu
2009-09-23Adding a script to check for upgradesRobby Russell