OpenSDE Packages Database (without history before r20070)
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.

34 lines
1016 B

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../man/parse-config
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. postflist_man() {
  16. egrep '^usr/share/(man|info)/.*\.gz$' $builddir/flist.txt |
  17. while read fn ; do
  18. [ -f $root/$fn ] || continue
  19. rm -f $root/${fn%.gz}
  20. gzip -d $root/$fn
  21. add_flist $root/${fn%.gz}
  22. done
  23. egrep '^usr/share/(man|info)/' $builddir/flist.txt |
  24. while read fn ; do
  25. [ -f $root/$fn ] || continue
  26. chmod 0644 $fn
  27. chown root:root $fn
  28. done
  29. }
  30. hook_add postflist 2 postflist_man