Skip to content

Commit

Permalink
Merge pull request #556 from thomasjacquin/postData.sh-IMG_DIR-bug
Browse files Browse the repository at this point in the history
Post data.sh img dir bug
  • Loading branch information
linuxkidd authored Oct 5, 2021
2 parents 5771404 + 960d079 commit 45f9fe8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion scripts/ftp-settings.sh.repo
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ PROTOCOL='ftp'
USER='username'
PASSWORD='password'
HOST='example.com'
IMGDIR='/allsky/'
IMGAGE_DIR='/allsky/'
IMGDIR="${IMGAGE_DIR}" # for backwards compatibility - will be removed in the future
VIDEOS_DIR='/allsky/videos/'
MP4DIR="${VIDEOS_DIR}" # for backwards compatibility - will be removed in the future
KEOGRAM_DIR='/allsky/keograms/'
STARTRAILS_DIR='/allsky/startrails/'

Expand Down
2 changes: 1 addition & 1 deletion scripts/postData.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ OUTPUT_FILE="${ALLSKY_TMP}/${FILE}"
) > "${OUTPUT_FILE}"

# PD == Post Data
"${ALLSKY_SCRIPTS}/upload.sh" --silent "${OUTPUT_FILE}" "${IMG_DIR}" "${FILE}" "PD"
"${ALLSKY_SCRIPTS}/upload.sh" --silent "${OUTPUT_FILE}" "${IMGDIR}" "${FILE}" "PD"

0 comments on commit 45f9fe8

Please sign in to comment.