Revision f80d02a4
Added by Phil Davis almost 10 years ago
src/usr/local/sbin/pfSense-upgrade | ||
---|---|---|
561 | 561 |
# Reinstall every pfSense-pkg-* package |
562 | 562 |
pkg_reinstall_all() { |
563 | 563 |
for _pkg in $(pkg query -e '%a == 0' %n); do |
564 |
case ${_pkg} in "${pkg_prefix}*" )
|
|
564 |
case ${_pkg} in "${pkg_prefix}"* )
|
|
565 | 565 |
_echo "Reinstalling ${_pkg}" |
566 | 566 |
pkg_install ${_pkg} 1 |
567 | 567 |
;; |
Also available in: Unified diff
Fix case wildcard of package names for reinstallall
Introduced by https://github.com/pfsense/pfsense/commit/e3b43e4bfe5a3e69028c1ab7e0e4a632ff5ee499
None of the packages were being matched here, none of them would be reinstalled. A "reinstallall" would complete very quickly with "Success" message but actually do nothing.