diff --git a/package.json b/package.json index a2765a3..810c799 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ }, "devDependencies": { "@fortawesome/fontawesome-free": "~6.5", - "add-dist-header": "~1.3", + "add-dist-header": "~1.4", "bestzip": "~2.2", "copy-file-util": "~1.1", "copy-folder-util": "~1.1", diff --git a/tools/build.sh.command b/tools/build.sh.command index 1932a40..f33ca41 100755 --- a/tools/build.sh.command +++ b/tools/build.sh.command @@ -16,6 +16,7 @@ apacheLog=$pkgInstallHome/var/log/httpd/error_log webDocRoot=$(grep ^DocumentRoot $apacheCfg/httpd.conf | awk -F'"' '{ print $2 }') cliFlagMsg="Use the '--fast' flag to skip npm update" cliFlag=$1 +consoleUrl=http://localhost/paradise-deploy/gallery/console npmUpdate() { npm install --no-fund @@ -120,6 +121,7 @@ unzipRelease() { unzip -o $projectHome/releases/paradise-v*.zip chmod -v uo+rwx gallery accessData() { #avoid problems if web server runs as a different user + curl $consoleUrl/sign-in/ | wc -m #create ~data~ subfolders chmod -v uo+rwx gallery/~data~ cd gallery/~data~ chmod -v uo+rwx backups* portfolio secure* uploads @@ -131,7 +133,6 @@ unzipRelease() { openConsole() { echo "*** Open Console" - consoleUrl=http://localhost/paradise-deploy/gallery/console/ echo "Folder: $webDocRoot/paradise-deploy/gallery/~data~/" echo "URL: $consoleUrl" sleep 2