Ignore:
Timestamp:
Jan 8, 2009, 11:23:36 AM (16 years ago)
Author:
rybkin
Message:

See C.L. 382

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/mgr/cmt_uninstall_action.sh

    r446 r487  
    122122fi
    123123
    124 if test -d ${dest_file_path}; then
     124if test -L ${dest_file_path}; then
     125
     126if test "${cmtmsg}"; then
     127  echo "${CMTMSGPREFIX}" removing symbolic link ${file_name} from ${install_dir}
     128fi
     129if test "${makecmd}"; then set -v; fi
     130  /bin/rm -f ${dest_file_path}
     131if test "${makecmd}"; then set +v; fi
     132
     133elif test -d ${dest_file_path}; then
     134
    125135if test "${cmtmsg}"; then
    126136  echo "${CMTMSGPREFIX}" removing directory ${file_name} from ${install_dir}
     
    129139  /bin/rm -rf ${dest_file_path}
    130140if test "${makecmd}"; then set +v; fi
     141
    131142elif test -f ${dest_file_path}; then
     143
    132144if test "${cmtmsg}"; then
    133145  echo "${CMTMSGPREFIX}" removing file ${file_name} from ${install_dir}
     
    136148  /bin/rm -f ${dest_file_path}
    137149if test "${makecmd}"; then set +v; fi
     150
    138151fi
    139152
Note: See TracChangeset for help on using the changeset viewer.