Adjust script detection rules to work with file >= 5.07 too (RhBug:712251)
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 10 Jun 2011 09:08:45 +0000 (12:08 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 10 Jun 2011 09:11:55 +0000 (12:11 +0300)
commitdb4905f51eb80b55c408e3a659bab6b4ec5d9e3b
tree1f84b401b8e2041f3d9576669ab8bd7a2b5c95b5
parentaa6fd62222ae13f84b65e919aa381a259244f0dc
Adjust script detection rules to work with file >= 5.07 too (RhBug:712251)
- Somewhere between file 5.05 and 5.07 it started adding encoding
  to script descriptions, eg "<mumble> script text executable" became
  "<mumble> script, <encoding> text executable" breaking what had
  been working for 10+ years in the case of old find-requires.
- Permit either comma or space after "script", this works for both
  old and new file.
autodeps/linux.req
fileattrs/script.attr