Commit 040e4138 authored by Doug Targett's avatar Doug Targett
Browse files

Update sympl lining up text added in changed for web audit as well.

parent 903aecda
...@@ -276,6 +276,7 @@ _web_audit() { ...@@ -276,6 +276,7 @@ _web_audit() {
if [ "$1" != "all" ]; then _is_domain $1 ; fi if [ "$1" != "all" ]; then _is_domain $1 ; fi
( umask 077; touch /dev/shm/sympl_web_audit )
find /srv/*/public/ -type d -name '*htdocs' > /dev/shm/sympl_web_audit find /srv/*/public/ -type d -name '*htdocs' > /dev/shm/sympl_web_audit
_verbose "Enabled sites:" _verbose "Enabled sites:"
...@@ -284,6 +285,7 @@ _web_audit() { ...@@ -284,6 +285,7 @@ _web_audit() {
_verbose "Disabled sites:" _verbose "Disabled sites:"
grep __disabled__ /dev/shm/sympl_web_audit | cut -d '/' -f 3 | sort grep __disabled__ /dev/shm/sympl_web_audit | cut -d '/' -f 3 | sort
rm /dev/shm/sympl_web_audit
} }
_web_set() { _web_set() {
...@@ -983,7 +985,7 @@ _main() { ...@@ -983,7 +985,7 @@ _main() {
enable) _action 'enable' ; shift ;; enable) _action 'enable' ; shift ;;
disable) _action 'disable' ; shift ;; disable) _action 'disable' ; shift ;;
audit|list) _action 'audit' ; shift ;; audit|list) _action 'audit' ; shift ;;
reset) _action 'reset' ; shift ;; reset) _action 'reset' ; shift ;;
update|upgrade) _action 'update' ; shift ;; update|upgrade) _action 'update' ; shift ;;
set) _action 'set' "$2" "$3" ; shift ; shift ; shift ;; set) _action 'set' "$2" "$3" ; shift ; shift ; shift ;;
*) # unhandled parameter *) # unhandled parameter
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment