From 0b86aa5d29478c2316f6f29eb5fdcfb074b459b6 Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sun, 1 Mar 2020 22:46:39 +0800 Subject: pkgr: update heroku-buildpack to latest (#5957) --- .packager/hooks/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.packager/hooks/postinst') diff --git a/.packager/hooks/postinst b/.packager/hooks/postinst index efae87ad..dcecc701 100755 --- a/.packager/hooks/postinst +++ b/.packager/hooks/postinst @@ -8,8 +8,8 @@ APP_USER=$(${CLI} config:get APP_USER) APP_GROUP=$(${CLI} config:get APP_GROUP) APP_CONFIG="/etc/${APP_NAME}/conf/app.ini" -mkdir -p $(dirname ${APP_CONFIG}) -chown "${APP_USER}"."${APP_GROUP}" $(dirname ${APP_CONFIG}) +mkdir -p "$(dirname ${APP_CONFIG})" +chown "${APP_USER}"."${APP_GROUP}" "$(dirname ${APP_CONFIG})" [ -f ${APP_CONFIG} ] || ${CLI} run cp conf/app.ini ${APP_CONFIG} ${CLI} config:set USER="${APP_USER}" sed -i "s|RUN_USER = git|RUN_USER = ${APP_USER}|" ${APP_CONFIG} -- cgit v1.2.3