Skip to content

Commit

Permalink
Fix typo in package.sh for rsync (fix #2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed May 6, 2022
1 parent 8af5b6c commit 369d602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ cp build/cli/Grabber-cli* "$APP_DIR" 2> /dev/null
cp build/languages/*.qm "$APP_DIR/languages/" 2> /dev/null

# Copy other required files to the release directory
if type rsync2 &> /dev/null; then
rsync2 -ar --exclude-from="src/sites/exclude.txt" src/sites "$APP_DIR"
if type rsync &> /dev/null; then
rsync -ar --exclude-from="src/sites/exclude.txt" src/sites "$APP_DIR"
else
echo "rsync not found, could not copy sites"
fi
Expand Down

0 comments on commit 369d602

Please sign in to comment.