| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function render_doSvgLastActions { |
| |
| |
| |
| if [[ $THIS_FILE_DIR == $NEXT_FILE_DIR ]];then |
| return |
| fi |
| |
| local ACTION='' |
| |
| |
| |
| |
| local -a LASTACTIONS |
| |
| |
| |
| |
| |
| |
| |
| if [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent '--release-pattern')/Gdm/.+\.svg$" ]];then |
| LASTACTIONS[((++${#LASTACTIONS[*]}))]='doDm:Gdm:800x600 1024x768 1280x1024 1360x768 2048x1536 2560x1240' |
| elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent '--release-pattern')/Kdm/.+\.svg$" ]];then |
| LASTACTIONS[((++${#LASTACTIONS[*]}))]='doDm:Kdm:800x600 1024x768 1280x1024 1360x768 2048x1536 2560x1240' |
| elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent '--release-pattern')/Ksplash/.+\.svg$" ]];then |
| LASTACTIONS[((++${#LASTACTIONS[*]}))]='doKsplash' |
| fi |
| |
| |
| |
| |
| |
| for ACTION in "${LASTACTIONS[@]}"; do |
| ${FUNCNAM}_$(echo "$ACTION" | cut -d: -f1) |
| done |
| |
| } |