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

  1. grml_x_main()
  2. {
  3. cp $archdir/grml-x-$ver.zsh grml-x.zsh
  4. patch grml-x.zsh < $confdir/incprep.diff
  5. perl -i -pe '
  6. if (/^INC:(.*)$/) {
  7. my $fn="'$archdir/grml-'$1'-$ver.zsh'";
  8. open(INC, "$fn") || die "$fn: $!";
  9. $_ = "## BEGIN grml-$1 ##\n".join("",<INC>)."## END grml-$1 ##\n";
  10. close INC;
  11. }
  12. ' grml-x.zsh
  13. cp grml-x.zsh $bindir/grml-x
  14. chmod +x $bindir/grml-x
  15. cp $archdir/grml-x-$ver.man $mandir/man1/grml-x.1
  16. }
  17. mainfunction="grml_x_main"