dist/debian: install python for git-archive-all

Since git-archive-all is python script, we need to install python if it's
unavailable.

Signed-off-by: Takuya ASADA <syuu@scylladb.com>
Message-Id: <1487054303-11556-1-git-send-email-syuu@scylladb.com>
This commit is contained in:
Takuya ASADA 2017-02-14 15:38:23 +09:00 committed by Avi Kivity
parent 7f63fabeee
commit db711b4b53
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ fi
if [ ! -f /usr/bin/lsb_release ]; then
sudo apt-get -y install lsb-release
fi
if [ ! -f /usr/bin/python ]; then
sudo apt-get -y install python
fi
DISTRIBUTION=`lsb_release -i|awk '{print $3}'`
RELEASE=`lsb_release -r|awk '{print $2}'`
CODENAME=`lsb_release -c|awk '{print $2}'`