Changeset 460 for devel/pb/bin/pb


Ignore:
Timestamp:
Jun 1, 2008, 4:39:27 PM (12 years ago)
Author:
Bruno Cornec
Message:

Should fix #13 definitely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r459 r460  
    952952        } elsif ($dtype eq "deb") {
    953953            # Also make a pbscript to generate apt bases
     954            # Cf: http://www.debian.org/doc/manuals/repository-howto/repository-howto.fr.html
     955            my $rpd = basename($pbrepo->{$ENV{'PBPROJ'}}/$repodir);
     956            print PBS << "EOF";
     957# Prepare a script to ease apt i setup
     958cat > $ENV{'PBPROJ'}.apt << EOT
     959deb $rpd $dver/
     960deb-src $rpd $dver/
     961EOT
     962chmod 644 $ENV{'PBPROJ'}.apt
     963
     964# Prepare a script to create apt info file
     965(cd .. ; dpkg-scanpackages $dver /dev/null | gzip -c9 > $dver/Packages.gz
     966(cd .. ; dpkg-scansources $dver /dev/null | gzip -c9 > $dver/Sources.gz
     967EOF
    954968        }
    955969        close(PBS);
Note: See TracChangeset for help on using the changeset viewer.