aports/community/bareos/support-alpine-dist.patch
2021-01-22 17:42:13 +00:00

16 lines
433 B
Diff

diff --git a/core/cmake/distname.sh b/core/cmake/distname.sh
index 2dfc47f..5026e11 100755
--- a/core/cmake/distname.sh
+++ b/core/cmake/distname.sh
@@ -184,6 +184,10 @@ else
elif test "$CYGWIN" = yes
then
PLATFORM=cygwin
+ elif test -f /etc/alpine-release
+ then
+ PLATFORM=alpine
+ DISTVER=`cat /etc/alpine-release`
else
PLATFORM=unknown
DISTVER=unknown