You don't need this `rm` because you're doing `ln -snf` on the next line, which will safely overwrite the symlink.