Skip to content

Commit

Permalink
Merge pull request #79 from 007revad/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
007revad authored Jun 27, 2024
2 parents 27b14bd + 87cd4d2 commit bb2352f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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.55
- Bug fix for `synoshare: unrecognized option '--get-real-path'` error in DSM 7.2. Issue #76

v3.0.54
- Bug fix for `synoshare: unrecognized option '--get-real-path'` error in DSM 7.0 and 7.1. Issue #76

Expand Down
8 changes: 4 additions & 4 deletions syno_app_mover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# https://docs.docker.com/config/pruning/
#------------------------------------------------------------------------------

scriptver="v3.0.54"
scriptver="v3.0.55"
script=Synology_app_mover
repo="007revad/Synology_app_mover"
scriptname=syno_app_mover
Expand Down Expand Up @@ -1267,11 +1267,11 @@ move_extras(){
web_packages(){
# $1 if pkg in lower case
[ "$trace" == "yes" ] && echo "${FUNCNAME[0]} called from ${FUNCNAME[1]}"
if [[ $buildnumber -gt "42962" ]]; then
# DSM 7.2 and later
if [[ $buildnumber -gt "64570" ]]; then
# DSM 7.2.1 and later
web_pkg_path=$(/usr/syno/sbin/synoshare --get-real-path web_packages)
else
# DSM 7.1 and earlier
# DSM 7.2 and earlier
web_pkg_path=$(/usr/syno/sbin/synoshare --getmap web_packages | grep volume | cut -d"[" -f2 | cut -d"]" -f1)
fi
if [[ -d "$web_pkg_path" ]]; then
Expand Down

0 comments on commit bb2352f

Please sign in to comment.