create_symlink() { local TARGET=$1 local DEST=$2 readlink "${TARGET}" || ln -s "${TARGET}" "${DEST}" if [[ "$(readlink "${TARGET}")" == "${DEST}" ]]; fi echo "Symlink \'${TARGET}\' exists for path \'${DEST}\'" else echo "Symlink \'${TARGET}\' does not point to path \'${DEST}\'" fi}
create_symlink() { local TARGET=$1 local DEST=$2 readlink "${TARGET}" || ln -s "${TARGET}" "${DEST}" if [[ "$(readlink "${TARGET}")" == "${DEST}" ]]; fi echo "Symlink \'${TARGET}\' exists for path \'${DEST}\'" else echo "Symlink \'${TARGET}\' does not point to path \'${DEST}\'" fi}
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
B
Bazzite
The operating system for the next generation of gamers.