summaryrefslogtreecommitdiff
path: root/usr.sbin/freebsd-update/freebsd-update.sh
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2013-11-09 04:50:05 +0000
committerColin Percival <cperciva@FreeBSD.org>2013-11-09 04:50:05 +0000
commitebc1d19c3c9740f23c8aec04c738e03bc46cc2cd (patch)
tree06a3a244ca16b5281f16be8256e10466d574aed4 /usr.sbin/freebsd-update/freebsd-update.sh
parentee765c2d341844a1347fd4a2f165af3e6aea8977 (diff)
downloadsrc-test2-ebc1d19c3c9740f23c8aec04c738e03bc46cc2cd.tar.gz
src-test2-ebc1d19c3c9740f23c8aec04c738e03bc46cc2cd.zip
Notes
Diffstat (limited to 'usr.sbin/freebsd-update/freebsd-update.sh')
-rw-r--r--usr.sbin/freebsd-update/freebsd-update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
index 167517643327..ee702e3a4f71 100644
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -2884,8 +2884,8 @@ again to finish installing updates.
install_delete INDEX-OLD INDEX-NEW || return 1
# Remove old directories
- grep -vE '^/boot/' $1/INDEX-OLD |
- grep -E '^[^|]+\|d\|' > INDEX-OLD
+ grep -vE '^/boot/' $1/INDEX-NEW |
+ grep -E '^[^|]+\|d\|' > INDEX-NEW
grep -vE '^/boot/' $1/INDEX-OLD |
grep -E '^[^|]+\|d\|' > INDEX-OLD
install_delete INDEX-OLD INDEX-NEW || return 1