source: ProjectBuilder/projects/rinse/pbconf/devel/conf/before-post-install.sh@ 764

Last change on this file since 764 was 764, checked in by Bruno Cornec, 15 years ago

Simplify postgresql startup for fossology rpm

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 245 bytes
Line 
1#!/bin/bash
2
3basemir="http://eurolinux.gre.hp.com/pub/linux"
4
5sed -i -e "s/^mirrorlist=/#mirrorlist=/;s|#baseurl=http://mirror.centos.org|baseurl=$basemir|;s|^gpgkey=http://mirror.centos.org|gpgkey=$basemir|" $1/etc/yum.repos.d/CentOS-Base.repo
Note: See TracBrowser for help on using the repository browser.