Add missing create dir

This commit is contained in:
Josué Tille 2024-06-02 21:48:38 +02:00
parent 5f5c4bcd5c
commit b37246b358
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -39,7 +39,7 @@ run_seafile_cmd() {
install_source() {
ynh_setup_source_custom --dest_dir="$install_dir"/seafile_image --full_replace
mkdir -p "$install_dir"/seafile_image/opt/seafile/{seafile-data,seahub-data,conf,logs}
mkdir -p "$install_dir"/seafile_image/opt/seafile/{seafile-data,seahub-data,conf,ccnet,logs}
grep "^$app:x" /etc/passwd | sed "s|$install_dir|/opt/seafile|" >> "$install_dir"/seafile_image/etc/passwd
grep "^$app:x" /etc/group >> "$install_dir"/seafile_image/etc/group
grep "^$app:x" /etc/group- >> "$install_dir"/seafile_image/etc/group-