diff --git a/bashclub-zsync/DEBIAN/postinst b/bashclub-zsync/DEBIAN/postinst index c48aa1e..177b9b0 100755 --- a/bashclub-zsync/DEBIAN/postinst +++ b/bashclub-zsync/DEBIAN/postinst @@ -12,5 +12,9 @@ fi chown root:root /usr/bin/bashclub-zsync chmod 755 /usr/bin/bashclub-zsync -chown root:root /etc/logrotate.d/bashclub_zsync -chmod 644 /etc/logrotate.d/bashclub_zsync +if [ -f /etc/logrotate.d/bashclub_zsync ]; then + rm -f /etc/logrotate.d/bashclub_zsync +fi + +chown root:root /etc/logrotate.d/bashclub-zsync +chmod 644 /etc/logrotate.d/bashclub-zsync diff --git a/bashclub-zsync/etc/logrotate.d/bashclub_zsync b/bashclub-zsync/etc/logrotate.d/bashclub-zsync similarity index 100% rename from bashclub-zsync/etc/logrotate.d/bashclub_zsync rename to bashclub-zsync/etc/logrotate.d/bashclub-zsync