fix(): create extension file list with flarum user

pull/3/head
Hardware 2016-07-23 19:38:13 +02:00
parent f23f3db38b
commit 2cca51728e
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA
1 changed files with 2 additions and 1 deletions

View File

@ -19,8 +19,9 @@ package=$2
# Move to flarum folder # Move to flarum folder
cd /flarum/app cd /flarum/app
# Create custom extensions cache folder # Create custom extensions cache folder and list file
su-exec flarum:flarum mkdir -p "$CACHE_DIR" su-exec flarum:flarum mkdir -p "$CACHE_DIR"
su-exec flarum:flarum touch "$LIST_FILE"
case "$action" in case "$action" in
# Install a flarum extension # Install a flarum extension