reachable-watcher 1.0.111 → 1.0.112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reachable-watcher",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
4
4
  "license": "CC-BY-3.0",
5
5
  "description": "Check status codes of web servers and sends notification e-mails",
6
6
  "homepage": "https://torben.website/reachable-watcher",
@@ -33,15 +33,7 @@ elif [ -f "/usr/lib/bashlink/module.sh" ]; then
33
33
  # shellcheck disable=SC1091
34
34
  source "/usr/lib/bashlink/module.sh"
35
35
  else
36
- declare -g RW_CACHE_PATH="$(
37
- echo "$@" | \
38
- sed \
39
- --regexp-extended \
40
- 's/(^| )(-o|--cache-path)(=| +)(.+[^ ])($| +-)/\4/'
41
- )"
42
- [ "$RW_CACHE_PATH" = "$*" ] && \
43
- RW_CACHE_PATH=reachableWatcherInstallCache
44
- RW_CACHE_PATH="${RW_CACHE_PATH%/}/"
36
+ declare -g RW_CACHE_PATH=/tmp/reachableWatcherInstallCache/
45
37
  declare -gr BL_MODULE_REMOTE_MODULE_CACHE_PATH="${RW_CACHE_PATH}bashlink"
46
38
  mkdir --parents "$BL_MODULE_REMOTE_MODULE_CACHE_PATH"
47
39
  declare -gr BL_MODULE_RETRIEVE_REMOTE_MODULES=true