From 485fc2a3b607115a6b2b5a77cc3e6c97b05fe04d Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Tue, 7 Nov 2023 12:58:03 -0800 Subject: [PATCH] refactor: plg file upload to unraid server script --- plugin/scripts/deploy-dev.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/scripts/deploy-dev.sh b/plugin/scripts/deploy-dev.sh index 8979540b1..d5882df69 100755 --- a/plugin/scripts/deploy-dev.sh +++ b/plugin/scripts/deploy-dev.sh @@ -23,10 +23,10 @@ fi echo "$server_name" > "$state_file" # Source directory path -source_directory="plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers" +source_directory="plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins" # Destination directory path -destination_directory="/usr/local/emhttp/plugins/dynamix.my.servers" +destination_directory="/usr/local/emhttp/plugins" # Replace the value inside the rsync command with the user's input rsync_command="rsync -avz --progress --stats -m -e ssh \"$source_directory/\" \"root@${server_name}:$destination_directory/\""