Skip to content

Commit

Permalink
Merge pull request #49 from 007revad/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
007revad authored Apr 21, 2024
2 parents 66d7393 + a3b4e95 commit 7f5787b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v3.0.47
- Added instructions on how to move photo shared folder if it exists.

v3.0.46
- DSM 6 to 7.1.1 bug fix where script incorrectly showed package failed to stop error. Issue #44
- DSM 6 to 7.1.1 bug fix for not detecting when package was not installed (for Restore mode).
Expand Down
10 changes: 9 additions & 1 deletion syno_app_mover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
# DONE Bug fix when script updates itself and user ran the script from ./scriptname.sh


scriptver="v3.0.46"
scriptver="v3.0.47"
script=Synology_app_mover
repo="007revad/Synology_app_mover"
scriptname=syno_app_mover
Expand Down Expand Up @@ -2139,6 +2139,14 @@ suggest_move_share(){
SurveillanceStation)
show_move_share "Surveillance Station" surveillance stopped
;;
SynologyPhotos)
share_link=$(readlink /var/services/photo)
if [[ -d "$share_link" ]]; then
if [[ $share_link == "/${sourcevol}/photo" ]]; then
show_move_share "Synology Photos" photo stopped
fi
fi
;;
VideoStation)
share_link=$(readlink /var/packages/VideoStation/shares/video)
if [[ $share_link == "/${sourcevol}/video" ]]; then
Expand Down

0 comments on commit 7f5787b

Please sign in to comment.