On Fri, Feb 28, 2003 at 07:57:02PM +1100, Matthew Palmer wrote: > * Add your file to the package somewhere You should put it in the debian/ directory. If its a binary file, you have to uuencode it (to make diff happy) and on install uudecode it. There is a perl script attached for this.
Cheers, Bastian
--
Bastian Kleineidam
Atombombe · Plutonium · Fat Man · Do it Yourself · Tim Taylor
#!/usr/bin/perl
$_ = <> until ($mode,$file) = /^begin\s*(\d*)\s*(\S*)/;
open(OUT,"> $file") if $file ne "";
while (<>) {
last if /^end/;
next if /[a-z]/;
next unless int((((ord() - 32) & 077) + 2) / 3) ==
int(length() / 4);
print OUT unpack "u", $_;
}
chmod oct $mode, $file;
pgpQcub1ohjVc.pgp
Description: PGP signature

