SHA256
1
0
forked from pool/os-prober
os-prober/os-prober-disable-debug.patch
Michael Chang d410e07306 Accepting request 908823 from home:michael-chang:branches:Base:System
- Update to 1.79:
  * Add mount dependency (Closes: #934713)
- Use download_files source service to download source files which is specified
  in the spec file
  * _service
- Disable debug messages by default (bsc#1101735)
  * os-prober-disable-debug.patch

OBS-URL: https://build.opensuse.org/request/show/908823
OBS-URL: https://build.opensuse.org/package/show/Base:System/os-prober?expand=0&rev=106
2021-07-28 08:26:55 +00:00

14 lines
375 B
Diff

Index: os-prober-1.79/common.sh
===================================================================
--- os-prober-1.79.orig/common.sh
+++ os-prober-1.79/common.sh
@@ -66,7 +66,7 @@ warn() {
}
debug() {
- if [ -z "$OS_PROBER_DISABLE_DEBUG" ]; then
+ if [ "x${OS_PROBER_ENABLE_DEBUG}" = xyes ] || [ "x${OS_PROBER_ENABLE_DEBUG}" = xy ]; then
log "debug: $@"
fi
}