TT#114353 Skip restore-permissions execution with diff, log + status actions

Related to previous commit (fa645475), we shouldn't execute
restore-permissions with any actions that aren't modifying system state.
Therefore also skip restore-permissions execution for diff, log + status
actions.

While at it, sort list of actions alphabetically.

Thanks Guillem Jover for raising this.

Change-Id: I803b08eee843d31f12d9810fe33b4327490228da
mr10.4
Michael Prokop 4 years ago
parent fa64547508
commit 234f34e404

@ -150,13 +150,16 @@ case ${1:-} in
printf "Running 'ngcpcfg decrypt' outside ngcpcfg framework...\n"
"${SCRIPTS}/decrypt"
;;
init-shared|\
initialise|\
cat|\
check|\
get|\
diff|\
edit|\
show)
get|\
initialise|\
init-shared|\
log|\
show|\
status)
main_action "$@"
;;
values)
@ -167,14 +170,11 @@ case ${1:-} in
build|\
clean|\
commit|\
diff|\
encrypt|\
log|\
pull|\
push|\
push-parallel|\
services|\
status|\
set|\
del|\
patch)

Loading…
Cancel
Save