debian/postinst: make sure /etc/yunohost/portal exists

This commit is contained in:
Alexandre Aubin 2024-01-01 19:44:13 +01:00
parent 0a01423408
commit 3aa087ca04

4
debian/postinst vendored
View file

@ -4,6 +4,10 @@ set -e
do_configure() {
mkdir -p /etc/yunohost
mkdir -p /etc/yunohost/apps
mkdir -p /etc/yunohost/portal
if [ ! -f /etc/yunohost/installed ]; then
# If apps/ is not empty, we're probably already installed in the past and
# something funky happened ...