mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
458 B

grml_x_main()
{
cp $archdir/grml-x-$ver.zsh grml-x.zsh
patch grml-x.zsh < $confdir/incprep.diff
perl -i -pe '
if (/^INC:(.*)$/) {
my $fn="'$archdir/grml-'$1'-$ver.zsh'";
open(INC, "$fn") || die "$fn: $!";
$_ = "## BEGIN grml-$1 ##\n".join("",<INC>)."## END grml-$1 ##\n";
close INC;
}
' grml-x.zsh
cp grml-x.zsh $bindir/grml-x
chmod +x $bindir/grml-x
cp $archdir/grml-x-$ver.man $mandir/man1/grml-x.1
}
mainfunction="grml_x_main"