summarylogtreecommitdiffstats
path: root/os-prober-disable-debug.patch
diff options
context:
space:
mode:
authorlibrewish2021-09-12 20:30:34 +0530
committerlibrewish2021-09-12 20:30:34 +0530
commit752ceb29fd23a6c4cffbca9f65adad1cb53f4872 (patch)
treea41fd50e983356d81f724b91463f8855bae07d9a /os-prober-disable-debug.patch
parent5271f23d8ac140f2db82697b645c38a41ccc78ac (diff)
downloadaur-752ceb29fd23a6c4cffbca9f65adad1cb53f4872.tar.gz
add patches from opensuse
Diffstat (limited to 'os-prober-disable-debug.patch')
-rw-r--r--os-prober-disable-debug.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/os-prober-disable-debug.patch b/os-prober-disable-debug.patch
new file mode 100644
index 00000000000..9811f628760
--- /dev/null
+++ b/os-prober-disable-debug.patch
@@ -0,0 +1,14 @@
+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
+ }
+