If this exists and is a directory, `rm -f` will fail to remove it.  How about:

    [[ -d /install-log ]] && rmdir /install-log