Project

General

Profile

« Previous | Next » 

Revision 967794d2

Added by Renato Botelho over 9 years ago

Add a workaround on pfSense-upgrade to make sure repo package is replaced by correct one

(cherry picked from commit a491ec98d8ffc5663cca84df402c2d6274a78a07)

View differences:

src/usr/local/sbin/pfSense-upgrade
294 294

  
295 295
		local _repo_pkg="${product}-repo"
296 296

  
297
		# Deprecated pa
298
		if is_pkg_installed ${product}-repo-devel; then
299
			_exec "pkg ${pkg_chroot} set -A 1 ${product}-repo-devel" \
300
				"Scheduling package ${product}-repo-devel for removal"
301
			_exec "pkg install ${_repo_pkg}" "Installing ${_repo_pkg}" mute
302
		fi
303

  
297 304
		if [ "$(compare_pkg_version ${_repo_pkg})" = "<" ]; then
298 305
			cp /usr/local/etc/pkg/repos/${product}.conf \
299 306
				/tmp/${product}.conf.copy

Also available in: Unified diff