Skip to content

Commit

Permalink
Merge pull request #64 from 007revad/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
007revad committed Jun 17, 2024
2 parents 03843eb + 3663f36 commit 82f4fed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v3.0.51
- Bug fix for checking free space on USB drives. Issue #63

v3.0.50
- Bug fix for Hyper backup where moving `@img_bkp_cache` could cause an error. Issue #54
- Bug fix Container Manager and Docker where moving `@docker` could cause an error. Issues #34 #38 #46
Expand Down
5 changes: 3 additions & 2 deletions syno_app_mover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
# DONE Bug fix when script updates itself and user ran the script from ./scriptname.sh


scriptver="v3.0.50"
scriptver="v3.0.51"
script=Synology_app_mover
repo="007revad/Synology_app_mover"
scriptname=syno_app_mover
Expand Down Expand Up @@ -868,7 +868,8 @@ vol_free_space(){
free="" # var is used later in script
if [[ -d "$1" ]]; then
# Get amount of free space on $1 volume
free=$(df --output=avail "$1" | grep -A1 Avail | grep -v Avail)
#free=$(df --output=avail "$1" | grep -A1 Avail | grep -v Avail) # dfs / for USB drives. # Issue #63
free=$(df | grep "$1" | awk '{print $4}') # dfs correctly for USB drives. # Issue #63
fi
}

Expand Down

0 comments on commit 82f4fed

Please sign in to comment.