1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/bareos/support-alpine-dist.patch
2021-01-22 17:42:13 +00:00

15 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