This commit is contained in:
th33xitus
2020-07-24 13:21:34 +02:00
parent 84fc849caf
commit 02c6a46a78
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ backup_dwc2(){
get_date
status_msg "Timestamp: $current_date"
mkdir -p $BACKUP_DIR/dwc2-backups/"$current_date"
cp -r $DWC2FK_DIR $_ && $DWC2_DIR $_
cp -r $DWC2FK_DIR $_ && cp -r $DWC2_DIR $_
ok_msg "Backup complete!"
else
ERROR_MSG=" Can't backup dwc2-for-klipper and/or dwc2 directory!\n Not found!"

View File

@@ -51,7 +51,7 @@ update_dwc2(){
bb4u "dwc2"
#check dependencies
dep=(wget gzip tar curl)
dep_check
dependency_check
#execute operation
GET_DWC2_URL=`curl -s https://api.github.com/repositories/28820678/releases/latest | grep browser_download_url | cut -d'"' -f4`
if [ ! -d $DWC2_DIR/web ]; then