mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
add jessie compatibility in autoscript
This commit is contained in:
parent
8b89c281ea
commit
cc946b0214
1 changed files with 12 additions and 1 deletions
|
@ -41,6 +41,12 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
# Fix install on jessie
|
||||
if [ $(lsb_release -c | awk '{print $2}') = jessie ];
|
||||
then
|
||||
apt-get install python-xmpp -y
|
||||
fi
|
||||
|
||||
if [[ ! -f /etc/yunohost/yunohost.conf ]]
|
||||
then
|
||||
mkdir /etc/yunohost/
|
||||
|
@ -118,7 +124,12 @@ then
|
|||
|
||||
echo "Installation"
|
||||
#add answer in debconf db
|
||||
debconf-set-selections debconfv2
|
||||
if [ $(lsb_release -c | awk '{print $2}') = jessie ];
|
||||
then
|
||||
debconf-set-selections $DIR/debconfjessie
|
||||
else
|
||||
debconf-set-selections $DIR/debconfv2
|
||||
fi
|
||||
|
||||
#Install yunohost packages
|
||||
apt-get -o Dpkg::Options::="--force-confold" \
|
||||
|
|
Loading…
Add table
Reference in a new issue