diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-29 17:42:57 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-29 17:42:57 -0300 |
commit | 7a19c3269b9e9d0991514d72cd1f6eafc031bda3 (patch) | |
tree | c92d2651b48ea2fbbf18cd820255ec429bc1414c /src/usr/local | |
parent | 26bc0c2078a04f5cc61b9530bca3729835706c57 (diff) | |
download | pfsense-7a19c3269b9e9d0991514d72cd1f6eafc031bda3.zip pfsense-7a19c3269b9e9d0991514d72cd1f6eafc031bda3.tar.gz |
Do not run pkg update between first and second step of upgrade process
Diffstat (limited to 'src/usr/local')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index ebe5e5f..68a79d3 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -241,10 +241,10 @@ pkg_update() { } pkg_upgrade() { - pkg_update - unset need_reboot if [ ! -f "${upgrade_in_progress}" ]; then + pkg_update + if [ -f "${logfile}" ]; then rm -f ${logfile} fi |