Changeset d4c98327


Ignore:
Timestamp:
08/07/14 12:10:22 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2
Children:
19bab26
Parents:
36f3620
Message:

Fix pc-updatemanager, always upgrade pkgng before checking for new
updates to the rest of your packages. This helps fix some issues
with the package system getting stuck in an "update loop"

File:
1 edited

Legend:

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

    r22bfc1e rd4c98327  
    11481148  # Update the repo DB 
    11491149  rc_halt "${PKG_CMD} update" 
     1150 
     1151  # Make sure we always have an updated pkgng before attempting to 
     1152  # check for updates 
     1153  ${PKG_CMD} ${PKG_FLAG} upgrade -y pkg 
     1154  if [ $? -ne 0 ] ; then 
     1155     echo "Warning: Failed to upgrade pkgng.." 
     1156  fi 
    11501157 
    11511158  ${PKG_CMD} ${PKG_FLAG} upgrade -n >/tmp/.pkgData.$$ 
Note: See TracChangeset for help on using the changeset viewer.