Skip to content

Commit

Permalink
melpa: Exclude index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
xuchunyang committed Aug 16, 2018
1 parent 4089f84 commit c08f794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rsync-melpa
Expand Up @@ -4,7 +4,7 @@ set -e

echo ">>> Syncing MELPA <$( date +"%Y-%m-%d %H:%M:%S %Z" )>..."

rsync -avz --delete --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r rsync://melpa.org/packages/ /var/elpa-packages/melpa
rsync -avz --delete --exclude="- /index.html" --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r rsync://melpa.org/packages/ /var/elpa-packages/melpa
rsync -av /var/elpa-packages/melpa/ /var/elpa/melpa
# Looks like the upstream doesn't have readable perm bit set for some files
chmod -R a+r /var/elpa/melpa
Expand Down

0 comments on commit c08f794

Please sign in to comment.