aboutsummaryrefslogtreecommitdiffstats
path: root/community/bareos/detect-alpine.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/bareos/detect-alpine.patch')
-rw-r--r--community/bareos/detect-alpine.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/bareos/detect-alpine.patch b/community/bareos/detect-alpine.patch
new file mode 100644
index 0000000000..f46a5570fe
--- /dev/null
+++ b/community/bareos/detect-alpine.patch
@@ -0,0 +1,26 @@
+Patch from fcolista
+
+diff --git a/core/cmake/distname.sh b/core/cmake/distname.sh
+index d52308c..603d249 100755
+--- a/core/cmake/distname.sh
++++ b/core/cmake/distname.sh
+@@ -45,7 +45,7 @@ else
+ DISTNAME=univention
+ ;;
+ *)
+- DISTNAME=""
++ DISTNAME="alpine"
+ ;;
+ esac
+
+@@ -165,6 +165,10 @@ else
+ elif test "$CYGWIN" = yes
+ then
+ DISTNAME=cygwin
++ elif test -f /etc/alpine-release
++ then
++ DISTNAME=alpine
++ DISTVER=`cat /etc/alpine-release`
+ else
+ DISTNAME=unknown
+ DISTVER=unknown