refactor: backup_before_updates functions

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-23 12:51:51 +02:00
parent 017738340d
commit be570ee8de
8 changed files with 34 additions and 34 deletions

View File

@@ -395,7 +395,7 @@ function update_moonraker(){
if [ ! -d "${MOONRAKER_DIR}" ]; then
cd "${HOME}" && git clone "${MOONRAKER_REPO}"
else
bb4u "moonraker"
backup_before_update "moonraker"
status_msg "Updating Moonraker ..."
cd "${MOONRAKER_DIR}" && git pull
### read PKGLIST and install possible new dependencies