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:
parent
7f63fabeee
commit
db711b4b53
3
dist/debian/build_deb.sh
vendored
3
dist/debian/build_deb.sh
vendored
@ -15,6 +15,9 @@ fi
|
|||||||
if [ ! -f /usr/bin/lsb_release ]; then
|
if [ ! -f /usr/bin/lsb_release ]; then
|
||||||
sudo apt-get -y install lsb-release
|
sudo apt-get -y install lsb-release
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f /usr/bin/python ]; then
|
||||||
|
sudo apt-get -y install python
|
||||||
|
fi
|
||||||
DISTRIBUTION=`lsb_release -i|awk '{print $3}'`
|
DISTRIBUTION=`lsb_release -i|awk '{print $3}'`
|
||||||
RELEASE=`lsb_release -r|awk '{print $2}'`
|
RELEASE=`lsb_release -r|awk '{print $2}'`
|
||||||
CODENAME=`lsb_release -c|awk '{print $2}'`
|
CODENAME=`lsb_release -c|awk '{print $2}'`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user