Changeset 29699

Show
Ignore:
Timestamp:
29.01.2015 11:58:33 (4 years ago)
Author:
jts21
Message:

Changed uri config to include path as well as domain

Location:
main/trunk/package-kits/linux/repos
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/package-kits/linux/repos/apt

    r29697 r29699  
    4646$setup_cmd_instruction 
    4747 
    48   echo 'deb http://$domain/repos/apt $codename main' > /etc/apt/sources.list.d/greenstone.list 
    49   curl -L 'http://$domain/repos/gpg.key' | apt-key add - 
     48  echo 'deb http://$uri_root/apt $codename main' > /etc/apt/sources.list.d/greenstone.list 
     49  curl -L 'http://$uri_root/gpg.key' | apt-key add - 
    5050  apt-get update 
    5151 
  • main/trunk/package-kits/linux/repos/conf.sh

    r29697 r29699  
    22label="greenstone" 
    33codename="greenstone" 
    4 domain="greenstone.org" 
     4uri_root='greenstone.org/repo' 
    55arch="i386 amd64 source" 
    6 description="Apt repository for Greenstone packages" 
     6description="Repository for Greenstone packages" 
    77base=$(dirname $0) 
    88repos=$base/repos 
  • main/trunk/package-kits/linux/repos/pacman

    r29697 r29699  
    3232  ( 
    3333  echo '[$label]' 
    34   echo 'Server = http://$domain/repos/arch/\$arch' 
     34  echo 'Server = http://$uri_root/arch/\$arch' 
    3535  ) >> /etc/pacman.conf 
    36   curl -L 'http://$domain/repos/gpg.key' | pacman-key -a - 
     36  curl -L 'http://$uri_root/gpg.key' | pacman-key -a - 
    3737  pacman-key -f $keyid 
    3838  pacman-key --lsign-key $keyid 
  • main/trunk/package-kits/linux/repos/rpm

    r29698 r29699  
    3535  echo '[$label]' 
    3636  echo 'name=$origin' 
    37   echo 'baseurl=http://$domain/repos/rpm/\$basearch' 
     37  echo 'baseurl=http://$uri_root/rpm/\$basearch' 
    3838  echo 'enabled=1' 
    3939  echo 'gpgcheck=1' 
    40   echo 'gpgkey=http://$domain/repos/gpg.key' 
     40  echo 'gpgkey=http://$uri_root/gpg.key' 
    4141  ) > /etc/yum.repos.d/greenstone.repo 
    4242  yum makecache