205-magic-update-tcsh.dpatch 766 B

12345678910111213141516171819
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 205-magic-update-tcsh.dpatch
  3. ##
  4. ## DP: Add another shebang path for tcsh.
  5. @DPATCH@
  6. diff -Naurp file.orig/magic/Magdir/commands file/magic/Magdir/commands
  7. --- file.orig/magic/Magdir/commands 2008-06-13 09:30:59.000000000 +0200
  8. +++ file/magic/Magdir/commands 2008-06-13 09:31:50.000000000 +0200
  9. @@ -12,6 +12,8 @@
  10. !:mime application/x-shellscript
  11. 0 string/b #!\ /bin/tcsh Tenex C shell script text executable
  12. !:mime application/x-shellscript
  13. +0 string/b #!\ /usr/bin/tcsh Tenex C shell script text executable
  14. +!:mime application/x-shellscript
  15. 0 string/b #!\ /usr/local/tcsh Tenex C shell script text executable
  16. !:mime application/x-shellscript
  17. 0 string/b #!\ /usr/local/bin/tcsh Tenex C shell script text executable