mirror of https://gitlab.com/bashrc2/epicyon
Fix moved to script
parent
350409756d
commit
5e777728e9
|
@ -270,9 +270,9 @@ function notifications {
|
||||||
epicyonMovedLink="<a href=\"${epicyonMovedUrl}\">${epicyonMovedTo}</a>"
|
epicyonMovedLink="<a href=\"${epicyonMovedUrl}\">${epicyonMovedTo}</a>"
|
||||||
epicyonMovedFileContent=$($(echo "$epicyonMovedFrom")" "$(echo "$epicyonMovedMessage")" "$(echo "$epicyonMovedLink"))
|
epicyonMovedFileContent=$($(echo "$epicyonMovedFrom")" "$(echo "$epicyonMovedMessage")" "$(echo "$epicyonMovedLink"))
|
||||||
if [[ "$epicyonMovedFileContent" == *':'* ]]; then
|
if [[ "$epicyonMovedFileContent" == *':'* ]]; then
|
||||||
epicyonMovedMessage="Epicyon: $epicyonMovedFileContent"
|
epicyonMovedFileContent="Epicyon: $epicyonMovedFileContent"
|
||||||
fi
|
fi
|
||||||
sendNotification "$USERNAME" "Epicyon" "$epicyonMovedMessage"
|
sendNotification "$USERNAME" "Epicyon" "$epicyonMovedFileContent"
|
||||||
echo "##sent##" > "$epicyonMovedFile"
|
echo "##sent##" > "$epicyonMovedFile"
|
||||||
chown ${PROJECT_NAME}:${PROJECT_NAME} "$epicyonMovedFile"
|
chown ${PROJECT_NAME}:${PROJECT_NAME} "$epicyonMovedFile"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue