Changeset 2b62dde


Ignore:
Timestamp:
11/26/13 08:29:21 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
a5331a7f
Parents:
fbc8e89
Message:

Fix up usage of pkg+http:// in pkg.conf

Location:
src-sh
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src-sh/libsh/functions.sh

    r8afc51a r2b62dde  
    4949     exit_err "Failed getting packagesite:" 
    5050  fi 
    51   pkgUrl="`grep '^packagesite:' /usr/local/etc/pkg.conf | awk '{print $2}'`" 
     51  pkgUrl="`grep '^packagesite:' /usr/local/etc/pkg.conf | awk '{print $2}' | sed 's|pkg+||g'`" 
    5252 
    5353  if [ ! -d "$PKG_CACHEDIR/All" ] ; then 
  • src-sh/pbi-manager10/pbi-manager

    rf17bcf9 r2b62dde  
    18201820        if [ "$PBI_PKGNGBUILD" ] ; then 
    18211821                echo "Installing pkgng..." 
    1822                 pkgFetchURL=`grep "^packagesite:" /usr/local/etc/pkg.conf | awk '{print $2}'` 
     1822                pkgFetchURL=`grep "^packagesite:" /usr/local/etc/pkg.conf | awk '{print $2}' | sed 's|pkg+||g'` 
    18231823                cd /tmp 
    18241824                fetch -o pkg.txz ${pkgFetchURL}/Latest/pkg.txz 
  • src-sh/pc-updatemanager/pc-updatemanager

    r565a343 r2b62dde  
    473473  # Set the new pkg.conf file to the new repo 
    474474  local arch=`uname -m` 
    475   echo "packagesite: http://pkg.cdn.pcbsd.org/$rel/$arch" >/usr/local/etc/pkg.conf 
     475  echo "packagesite: pkg+http://pkg.cdn.pcbsd.org/$rel/$arch" >/usr/local/etc/pkg.conf 
    476476  echo "PUBKEY: /usr/local/etc/pkg-pubkey.cert" >>/usr/local/etc/pkg.conf 
    477477  echo "PKG_CACHEDIR: /usr/local/tmp" >>/usr/local/etc/pkg.conf 
  • src-sh/warden/scripts/backend/functions.sh

    re5240d6 r2b62dde  
    800800rm pkg.txz 
    801801 
    802 echo "packagesite: http://pkg.cdn.pcbsd.org/${release}/${arch}" >/usr/local/etc/pkg.conf 
     802echo "packagesite: pkg+http://pkg.cdn.pcbsd.org/${release}/${arch}" >/usr/local/etc/pkg.conf 
    803803echo "PUBKEY: /usr/local/etc/pkg-pubkey.cert" >>/usr/local/etc/pkg.conf 
    804804echo "PKG_CACHEDIR: /usr/local/tmp" >>/usr/local/etc/pkg.conf 
     
    833833mount -t devfs devfs /dev 
    834834 
    835 echo "packagesite: http://pkg.cdn.pcbsd.org/${release}/${arch}" >/usr/local/etc/pkg.conf 
     835echo "packagesite: pkg+http://pkg.cdn.pcbsd.org/${release}/${arch}" >/usr/local/etc/pkg.conf 
    836836echo "PUBKEY: /usr/local/etc/pkg-pubkey.cert" >>/usr/local/etc/pkg.conf 
    837837echo "PKG_CACHEDIR: /usr/local/tmp" >>/usr/local/etc/pkg.conf 
Note: See TracChangeset for help on using the changeset viewer.