install.sh 1.2 KB

1234567891011121314151617181920212223242526272829
  1. #!/bin/sh
  2. # doar - mail aggregation script based on mpop and msmtp
  3. # Written in 2014 by fr33domlover <fr33domlover@riseup.net>
  4. #
  5. # To the extent possible under law, the author(s) have dedicated all copyright
  6. # and related and neighboring rights to this software to the public domain
  7. # worldwide. This software is distributed without any warranty.
  8. #
  9. # You should have received a copy of the CC0 Public Domain Dedication along with
  10. # this software. If not, see
  11. # <http://creativecommons.org/publicdomain/zero/1.0/>.
  12. install -d /usr/local/bin
  13. install -d /etc/cron.d
  14. install -d /etc/doar
  15. install -d /usr/local/share/doar
  16. install --preserve-timestamps --mode=0755 doar.sh /usr/local/bin/doar
  17. install --preserve-timestamps --mode=0644 doar.cron /etc/cron.d/doar
  18. install --preserve-timestamps --mode=0644 mpoprc /etc/doar/mpoprc
  19. install --preserve-timestamps --mode=0755 install.sh \
  20. uninstall.sh \
  21. /usr/local/share/doar
  22. install --preserve-timestamps --mode=0644 INSTALL \
  23. README \
  24. TODO \
  25. AUTHORS \
  26. /usr/local/share/doar