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