From 538019632510868ffb9dc9324dc8fe1020a83baa Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Fri, 15 Nov 2019 16:12:31 +0100 Subject: [PATCH] Fixed the place of PILER_CONFIG_DIR and CONFIG_SITE_PHP Signed-off-by: Janos SUTO --- util/postinstall.sh.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/postinstall.sh.in b/util/postinstall.sh.in index f6c276ba..c806600f 100755 --- a/util/postinstall.sh.in +++ b/util/postinstall.sh.in @@ -13,8 +13,6 @@ CRON_ORIG="/tmp/crontab.piler.orig" CRON_TMP="/tmp/crontab.piler" PILERCONF_TMP="/tmp/config.piler.88" SOCKET_HELPER_SCRIPT="aaa.pl" -PILER_CONFIG_DIR="${SYSCONFDIR}/piler" -CONFIG_SITE_PHP="${PILER_CONFIG_DIR}/config-site.php" load_default_values() { PILERUSER="piler" @@ -23,6 +21,9 @@ load_default_values() { LIBEXECDIR=__LIBEXECDIR DATAROOTDIR=__DATAROOTDIR + PILER_CONFIG_DIR="${SYSCONFDIR}/piler" + CONFIG_SITE_PHP="${PILER_CONFIG_DIR}/config-site.php" + KEYTMPFILE="piler.key" KEYFILE="${PILER_CONFIG_DIR}/piler.key"