yunohost-admin/debian/postinst

7 lines
216 B
Bash

#!/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
service yunohost-api restart