3 # In its infinite wisdom, Microsoft decided that Vista should treat _all_
4 # programs whose filename _contains_ a substring like "setup", "install",
5 # "update", "patch" etc. as administrative programs.
7 # And now we have to say _explicitly_ that they are not. Great.
11 for program
in $
(ls bin
/*.exe |
grep -ie setup
-e install -e update
-e patch)
13 test -f $program.manifest ||
{
14 base
=$
(basename $program)
15 sed "s/patch.exe/$base/" \
16 < /bin
/patch.exe.manifest
> $program.manifest
17 git update-index
--add $program.manifest