| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function verify_doLinkInstall { |
| |
| local ID=0 |
| local LINKS_PARENT='' |
| local WARNING='' |
| |
| for ID in $LINKS_MISSING_ID;do |
| |
| |
| |
| |
| |
| |
| if [[ -f ${TARGETS[$ID]} ]];then |
| LINKS_PARENT=$(dirname "${LINKS[$ID]}") |
| cli_checkFiles $LINKS_PARENT 'd' |
| fi |
| |
| |
| |
| |
| |
| if [[ -f ${LINKS[$ID]} ]];then |
| WARNING=" (`gettext "Already exists as regular file."`)" |
| cli_printMessage "${LINKS[$ID]}${WARNING}" 'AsResponseLine' |
| continue |
| fi |
| |
| |
| ln -s ${TARGETS[$ID]} ${LINKS[$ID]} |
| |
| done |
| |
| } |