Fix dependance for buster

This commit is contained in:
Josué Tille 2020-04-28 15:17:51 +02:00
parent f9b9e934f6
commit 637a32aa57
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -41,7 +41,11 @@ admin_email=$(sudo yunohost user info $admin | grep mail: | sed "s/mail: //g")
# Check dependencies
sudo apt-get update
sudo apt-get install -qq python2.7 python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect
if [ "$(lsb_release --codename --short)" == "stretch" ]; then
sudo apt-get install -qq python2.7 python-setuptools python-simplejson python-imaging python-mysqldb python-flup expect
else
sudo apt-get install -qq python2.7 python-setuptools python-simplejson python-pil python-mysqldb python-flup expect
fi
# Copy files to the right place
test -e $final_path && sudo rm -rf "$final_path"