mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 10:34:28 +05:00
Fix bugs
This commit is contained in:
@@ -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!"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user