echo "Don't forget to add a file ~/.plomlombot with content such as:"
echo "gpg_key ${gpg_key}"
echo "bot: SCREEN_SESSION_NAME BOT_NAME #CHANNEL_NAME IRC_SERVER_NAME"
+echo "# file should end in newline or non-interpreted line such as this"
if [ "${first_char}" = "#" ]; then
shortened_channel_name=$(echo -n "${channel_name}" | cut -c2-)
fi
- ln -sf "${logs_dir}" "${irclogs_dir}/${shortened_channel_name}"
+ ln -sfn "${logs_dir}" "${irclogs_dir}/${shortened_channel_name}"
# If "key:" line, encrypt old raw logs to that GPG key.
elif [ "${first_word}" = "gpg_key": ]; then