2014-04-24 20:25:42 +00:00
|
|
|
Index: os-prober-1.58/common.sh
|
|
|
|
===================================================================
|
|
|
|
--- os-prober-1.58.orig/common.sh
|
|
|
|
+++ os-prober-1.58/common.sh
|
|
|
|
@@ -76,7 +76,9 @@ warn() {
|
2013-01-31 20:28:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
debug() {
|
|
|
|
- log "debug: $@"
|
|
|
|
+ if [ -z "$OS_PROBER_DISABLE_DEBUG" ]; then
|
|
|
|
+ log "debug: $@"
|
|
|
|
+ fi
|
|
|
|
}
|
|
|
|
|
|
|
|
result () {
|
2014-04-24 20:25:42 +00:00
|
|
|
Index: os-prober-1.58/os-probes/mounted/powerpc/20macosx
|
|
|
|
===================================================================
|
|
|
|
--- os-prober-1.58.orig/os-probes/mounted/powerpc/20macosx
|
|
|
|
+++ os-prober-1.58/os-probes/mounted/powerpc/20macosx
|
|
|
|
@@ -7,7 +7,9 @@ mpoint="$2"
|
|
|
|
type="$3"
|
|
|
|
|
|
|
|
debug() {
|
|
|
|
- logger -t macosx-prober "debug: $@"
|
|
|
|
+ if [ -z "$OS_PROBER_DISABLE_DEBUG" ]; then
|
|
|
|
+ logger -t macosx-prober "debug: $@"
|
|
|
|
+ fi
|
|
|
|
}
|
|
|
|
|
|
|
|
# Weed out stuff that doesn't apply to us
|