Get dist from devuan_version not lsb_release.

This commit is contained in:
Cyteen 2017-11-17 17:31:44 +00:00
parent df45e28f97
commit 1a4378f53d
1 changed files with 3 additions and 1 deletions

View File

@ -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'