Changeset f566c15


Ignore:
Timestamp:
12/26/13 10:21:12 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
dc92b3c, 8364326
Parents:
488f008
Message:

Sigh, the multiple pkgng repos bites again. When we do a major update or
branch change, make sure to move the non-working FreeBSD.conf repo file
out of the way first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-updatemanager/pc-updatemanager

    rd469dfd rf566c15  
    428428  fi 
    429429 
     430  # Remove this, causes all kinds of havok during the update 
     431  if [ -e "/etc/pkg/FreeBSD.conf" ] ; then 
     432    mv /etc/pkg/FreeBSD.conf /etc/pkg/FreeBSD.conf.dist 
     433  fi 
     434 
    430435  # Now its time to force a pkg-update of all packages to their new FreeBSD compiled versions 
    431436  pc-updatemanager pkgupdate -f 
     
    580585  fi 
    581586 
    582   export EVENT_PIPE 
     587  # Update the DB first 
     588  pkg-static update -f 
     589 
     590  # Look for conflicts 
    583591  check_pkg_conflicts "upgrade -FUy $1" 
    584592  if [ $? -ne 0 ] ; then 
Note: See TracChangeset for help on using the changeset viewer.