1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-09-15 12:12:06 +02:00

3 Commits
2.0.0 ... 2.0.1

Author SHA1 Message Date
oupala
b525e7e19c chore: bump version from 2.0.1-dev to 2.0.1 2019-05-30 22:26:32 +02:00
oupala
367722a973 fix: make the script apaxy-configure.sh more robust
The script apaxy-configure.sh can now be launched from anywhere in the system, and not only from the `apaxy` directory.

This is very useful when the context is managed by another tool, such as ansible.
2019-05-30 22:22:24 +02:00
oupala
049ff109f8 chore: bump version from 2.0.0 to 2.0.1-dev 2019-05-30 22:17:39 +02:00
3 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,12 @@
## [2.0.1](https://github.com/oupala/apaxy/compare/2.0.0...2.0.1) (2019-05-30)
### Bug Fixes
* make the script apaxy-configure.sh more robust ([367722a](https://github.com/oupala/apaxy/commit/367722a))
# [2.0.0](https://github.com/oupala/apaxy/compare/1.0.0...2.0.0) (2019-05-29)

6
apaxy-configure.sh Normal file → Executable file
View File

@@ -22,6 +22,8 @@ defaultApacheWebRootPath="/var/www/html"
defaultInstallWebPath=""
defaultEnableGallery=false
workingDirectory="$(dirname "${0}")"
# functions
###
@@ -84,8 +86,6 @@ log () {
}
# getting parameters value from config file (can be overloaded by cli values)
workingDirectory=$(dirname "$0")
if [ -f "${workingDirectory}/apaxy.config" ]; then
# shellcheck source=apaxy.config
source "${workingDirectory}/apaxy.config"
@@ -189,7 +189,7 @@ if [ ! -d "${installDir}" ] || [ ! -w "${installDir}" ]; then
fi
log 1 "- copying apaxy in install directory"
cp -r apaxy/* "${installDir}/"
cp -r ${workingDirectory}/apaxy/* "${installDir}/"
log 1 "- configuring apaxy in install directory"

View File

@@ -1,6 +1,6 @@
{
"name": "apaxy",
"version": "2.0.0",
"version": "2.0.1",
"description": "A simple, customisable theme for your Apache directory listing.",
"main": "index.js",
"scripts": {