From 1a4378f53d0c8865dfcc44795c897aefc81065ff Mon Sep 17 00:00:00 2001 From: Cyteen Date: Fri, 17 Nov 2017 17:31:44 +0000 Subject: [PATCH] Get dist from devuan_version not lsb_release. --- 020_git-lfs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/020_git-lfs.sh b/020_git-lfs.sh index 9e2e265..98a032a 100644 --- a/020_git-lfs.sh +++ b/020_git-lfs.sh @@ -3,7 +3,9 @@ set -x # Using in combination with bfg to remove large binary files from a git repo and replace them with a pointer to a uri/url # debianized repo # git clone https://github.com/git-lfs/git-lfs -dist=$(lsb_release -c | cut -f2) + +#dist=$(lsb_release -c | cut -f2) +dist=$(cat /etc/devuan_version | awk -F '/' {'print $1'}) if [ "$dist" == 'jessie' ] then DIST='jessie'