Fix moved to script

main
Bob Mottram 2022-12-13 23:18:59 +00:00
parent 350409756d
commit 5e777728e9
1 changed files with 2 additions and 2 deletions

View File

@ -270,9 +270,9 @@ function notifications {
epicyonMovedLink="<a href=\"${epicyonMovedUrl}\">${epicyonMovedTo}</a>"
epicyonMovedFileContent=$($(echo "$epicyonMovedFrom")" "$(echo "$epicyonMovedMessage")" "$(echo "$epicyonMovedLink"))
if [[ "$epicyonMovedFileContent" == *':'* ]]; then
epicyonMovedMessage="Epicyon: $epicyonMovedFileContent"
epicyonMovedFileContent="Epicyon: $epicyonMovedFileContent"
fi
sendNotification "$USERNAME" "Epicyon" "$epicyonMovedMessage"
sendNotification "$USERNAME" "Epicyon" "$epicyonMovedFileContent"
echo "##sent##" > "$epicyonMovedFile"
chown ${PROJECT_NAME}:${PROJECT_NAME} "$epicyonMovedFile"
fi