Rename function

This commit is contained in:
adrien 2020-12-13 17:59:58 +01:00
parent b31551267f
commit 3b19be4059

View File

@ -27,7 +27,7 @@ function send_message {
fi fi
} }
function download_and_compile_bitwarden { function update_bitwarden {
rm --recursive --force /tmp/bitwarden rm --recursive --force /tmp/bitwarden
# clone the latest release # clone the latest release
@ -65,5 +65,5 @@ then
send_message "[Bitwarden] - Bitwarden RS is up to date." send_message "[Bitwarden] - Bitwarden RS is up to date."
else else
send_message "[Bitwarden] - Bitwarden RS is not up to date (https://github.com/dani-garcia/bitwarden_rs/commit/${latest_release})." send_message "[Bitwarden] - Bitwarden RS is not up to date (https://github.com/dani-garcia/bitwarden_rs/commit/${latest_release})."
download_and_compile_bitwarden update_bitwarden
fi fi