=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- openbsd/update_openbsd/update_openbsd 2009/12/10 06:09:40 1.28 +++ openbsd/update_openbsd/update_openbsd 2009/12/10 06:51:28 1.29 @@ -1,5 +1,5 @@ #!/bin/sh -# $RedRiver: update_openbsd,v 1.27 2009/12/04 04:26:36 andrew Exp $ +# $RedRiver: update_openbsd,v 1.28 2009/12/10 06:09:40 andrew Exp $ installed_sets() { local misc=/usr/share/doc/README @@ -304,6 +304,7 @@ fi local _true_bsd=`follow_symlink /bsd` + _true_bsd=${_true_bsd#/} local _installed_new_bsd for _b in bsd*; do @@ -315,7 +316,7 @@ echo ERROR: Could not copy new SP kernel! >&2 exit 1 fi - if [ X"${_true_bsd}" == X"/bsd.sp" ]; then + if [ X"${_true_bsd}" == X"bsd.sp" ]; then _installed_new_bsd=1 fi else @@ -326,7 +327,7 @@ echo ERROR: Could not copy new $_b kernel! >&2 exit 1 fi - if [ X"${_true_bsd}" == X"/${_b}" ]; then + if [ X"${_true_bsd}" == X"${_b}" ]; then _installed_new_bsd=1 fi fi