qi: Use full remove mode when upgrade a package
[dragora.git] / patches / os-prober / os-prober-grepfix.patch
blob4dadd4f57babf94347ce32f3c7553e59c37cc492
1 Index: os-prober/os-probes/mounted/x86/83haiku
2 ===================================================================
3 --- os-prober.orig/os-probes/mounted/x86/83haiku
4 +++ os-prober/os-probes/mounted/x86/83haiku
5 @@ -13,7 +13,7 @@ case "$type" in
6 *) debug "$partition is not a BeFS partition: exiting"; exit 1 ;;
7 esac
9 -if head -c 512 "$partition" | grep -qs "system.haiku_loader"; then
10 +if head -c 512 "$partition" | grep -aqs "system.haiku_loader"; then
11 debug "Stage 1 bootloader found"
12 else
13 debug "Stage 1 bootloader not found: exiting"