102-magic-update-bash.patch 801 B

1234567891011121314151617
  1. Author: Daniel Baumann <daniel@debian.org>
  2. Description: Adding another shebang path for bash.
  3. diff -Naurp file.orig/magic/Magdir/commands file/magic/Magdir/commands
  4. --- file.orig/magic/Magdir/commands 2010-01-30 09:44:26.000000000 +0000
  5. +++ file/magic/Magdir/commands 2010-02-01 11:54:51.000000000 +0000
  6. @@ -57,6 +57,10 @@
  7. # bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
  8. 0 string/w #!\ /bin/bash Bourne-Again shell script text executable
  9. !:mime text/x-shellscript
  10. +0 string/w #!\ /usr/bin/bash Bourne-Again shell script text executable
  11. +!:mime text/x-shellscript
  12. +0 string/w #!\ /usr/local/bash Bourne-Again shell script text executable
  13. +!:mime text/x-shellscript
  14. 0 string/w #!\ /usr/local/bin/bash Bourne-Again shell script text executable
  15. !:mime text/x-shellscript