Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sympl
Sympl
Commits
040e4138
Commit
040e4138
authored
May 12, 2020
by
Doug Targett
Browse files
Update sympl lining up text added in changed for web audit as well.
parent
903aecda
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/bin/sympl
View file @
040e4138
...
...
@@ -276,6 +276,7 @@ _web_audit() {
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
_verbose
"Enabled sites:"
...
...
@@ -284,6 +285,7 @@ _web_audit() {
_verbose
"Disabled sites:"
grep
__disabled__ /dev/shm/sympl_web_audit |
cut
-d
'/'
-f
3 |
sort
rm
/dev/shm/sympl_web_audit
}
_web_set
()
{
...
...
@@ -983,7 +985,7 @@ _main() {
enable
)
_action
'enable'
;
shift
;;
disable
)
_action
'disable'
;
shift
;;
audit|list
)
_action
'audit'
;
shift
;;
reset
)
_action
'reset'
;
shift
;;
reset
)
_action
'reset'
;
shift
;;
update|upgrade
)
_action
'update'
;
shift
;;
set
)
_action
'set'
"
$2
"
"
$3
"
;
shift
;
shift
;
shift
;;
*
)
# unhandled parameter
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment