~ubuntu-branches/ubuntu/natty/os-prober/natty

« back to all changes in this revision

Viewing changes to linux-boot-prober

  • Committer: Bazaar Package Importer
  • Author(s): Frans Pop
  • Date: 2007-02-27 20:16:49 UTC
  • mfrom: (1.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20070227201649-dayeca1vogcnuhov
Tags: 1.17
Check for both upper and lowercase filenames when detecting Windows
NT/XP/2000. Thanks to Thanatermesis.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
. /usr/share/os-prober/common.sh
3
3
 
4
4
set -e
 
5
 
 
6
DO_MOUNTED=""
 
7
if [ "$1" = "--mounted" ]; then
 
8
        DO_MOUNTED="1"
 
9
        shift 1
 
10
fi
 
11
export DO_MOUNTED
 
12
 
5
13
partition="$1"
6
14
 
7
15
for test in /usr/lib/linux-boot-probes/*; do