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

@@ -341,7 +341,7 @@ function update_klipper(){
if [ ! -d "${KLIPPER_DIR}" ]; then
cd "${HOME}" && git clone "${KLIPPER_REPO}"
else
bb4u "klipper"
backup_before_update "klipper"
status_msg "Updating Klipper ..."
cd "${KLIPPER_DIR}" && git pull
### read PKGLIST and install possible new dependencies