mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
ownCloud 9.0 comes with improved occ which allows to install easily from the command-line. This install rewrite uses those new facilities and also uses the config:import command to set system and LDAP configuration.
6 lines
96 B
Bash
6 lines
96 B
Bash
#!/bin/bash
|
|
APP=${!#}
|
|
|
|
user=$1
|
|
sudo mkdir -p /home/$user
|
|
sudo setfacl -m g:$APP:rwx /home/$user
|