[BACK]Return to update_openbsd CVS log [TXT][DIR] Up to [local] / openbsd / update_openbsd

Diff for /openbsd/update_openbsd/update_openbsd between version 1.114 and 1.115

version 1.114, 2018/12/16 20:49:58 version 1.115, 2018/12/16 20:55:03
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $AFresh1: update_openbsd,v 1.113 2018/12/16 20:31:06 andrew Exp $  # $AFresh1: update_openbsd,v 1.114 2018/12/16 20:49:58 andrew Exp $
 #  #
 # Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com>  # Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com>
 #  #
Line 487 
Line 487 
   
     if [ "$EFI_BOOT" -a -d /mnt/efi/boot ]; then      if [ "$EFI_BOOT" -a -d /mnt/efi/boot ]; then
        echo "Copying $EFI_BOOT to /mnt/efi/boot/$EFI_BOOT"         echo "Copying $EFI_BOOT to /mnt/efi/boot/$EFI_BOOT"
        cp "$EFI_BOOT" "/mnt/efi/boot/"         ( cd /mnt/efi/boot \
            && cp "$RELEASEDIR/$EFI_BOOT" "n$EFI_BOOT"
            && mv "n$EFI_BOOT" "$EFI_BOOT"
          )
     fi      fi
   
     if [ X"$BOOT_KERNEL_VERSION" != X"$NEW_KERNEL_VERSION" ]; then      if [ X"$BOOT_KERNEL_VERSION" != X"$NEW_KERNEL_VERSION" ]; then
         echo "===> Backing up $BOOT_KERNEL to ${_d}obsd"          echo "===> Backing up ${_d}$BOOT_KERNEL to ${_d}obsd"
         if [ $mount_is_msdos ]; then          if [ $mount_is_msdos ]; then
             cp ${_d}$BOOT_KERNEL ${_d}obsd              cp ${_d}$BOOT_KERNEL ${_d}obsd
         else          else

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>