Skip to content

Commit

Permalink
Update pyload_to_rclone.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wy580477 committed Feb 2, 2023
1 parent 144d6ec commit 0e3d58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/pyload_to_rclone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source /workdir/script_core.sh

DEFINITION_PATH() {
UPLOAD_MODE="$(grep ^pyload-download-finished-upload-mode /mnt/data/config/script.conf | cut -d= -f2- | sed "s|^[ \t]*||g;s|\r$||")"
DOWNLOAD_DIR="$(grep ^'.*folder storage_folder' /workdir/.pyload/settings/pyload.cfg | cut -d= -f2- | sed "s|^[ \t]*||g;s|\r$||")"
DOWNLOAD_DIR="$(grep ^'.*folder storage_folder' /mnt/data/config/.pyload/settings/pyload.cfg | cut -d= -f2- | sed "s|^[ \t]*||g;s|\r$||")"
PYLOAD_DRIVE_DIR="$(grep ^pyload-drive-dir /mnt/data/config/script.conf | cut -d= -f2- | sed "s|^[ \t]*||g;s|\r$||")"
FILE_PATH=$(echo ${LOCAL_PATH} | sed 's:[^/]*$::')
MSG_PATH="${FILE_PATH}${FILE_NAME}"
Expand Down

0 comments on commit 0e3d58a

Please sign in to comment.