yunohost-admin/debian/postinst

14 lines
307 B
Text
Raw Normal View History

#!/bin/bash
if [ ! -f /usr/share/yunohost/admin/ca.crt ];
then
ln -s /etc/ssl/certs/ca-yunohost_crt.pem /usr/share/yunohost/admin/ca.crt
fi
chown -R www-data: /usr/share/yunohost/admin
2015-05-02 11:48:08 +02:00
if [ $(lsb_release -c | awk '{print $2}') = jessie ];
then
service yunohost-api stop
fi
service yunohost-api restart