mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix multimedia hook if not media directory yet
This commit is contained in:
parent
1adff77e3a
commit
29b511f5e3
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ readonly MEDIA_GROUP=multimedia
|
|||
readonly MEDIA_DIRECTORY=/home/yunohost.multimedia
|
||||
|
||||
# We only do this if multimedia directory is enabled (= the folder exists)
|
||||
[ -e "$MEDIA_DIRECTORY" ] || exit
|
||||
[ -e "$MEDIA_DIRECTORY" ] || exit 0
|
||||
|
||||
mkdir -p "$MEDIA_DIRECTORY/$user"
|
||||
mkdir -p "$MEDIA_DIRECTORY/$user/Music"
|
||||
|
|
Loading…
Add table
Reference in a new issue