home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve plomlombot-irc setup.
[config]
/
all_new_2018
/
user_scripts
/
plomlombot_daemon.sh
diff --git
a/all_new_2018/user_scripts/plomlombot_daemon.sh
b/all_new_2018/user_scripts/plomlombot_daemon.sh
index b7d07093f138ee82e8802ce432776ba011f50b7c..dcac4f677c453f0f665a4e8ae66a001b88857270 100755
(executable)
--- a/
all_new_2018/user_scripts/plomlombot_daemon.sh
+++ b/
all_new_2018/user_scripts/plomlombot_daemon.sh
@@
-35,7
+35,7
@@
while true; do
if [ "${first_char}" = "#" ]; then
shortened_channel_name=$(echo -n "${channel_name}" | cut -c2-)
fi
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
# If "key:" line, encrypt old raw logs to that GPG key.
elif [ "${first_word}" = "gpg_key": ]; then