gs-update.bash 235 B

1234567891011121314
  1. #!/bin/bash
  2. SRC="${HOME}/git/gnu-social/*"
  3. DST="${HOME}/www/tortuga/"
  4. sudo rsync -r ${SRC} "${DST}/"
  5. sudo chown -hR www-data "${DST}"
  6. sudo chmod g+w "${DST}"
  7. for DIR in avatar background file
  8. do
  9. sudo chmod g+w "${DST}/${DIR}"
  10. done