[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: miniflux



Hi Maytham,

On 1/7/24 7:15 PM, Maytham Alsudany wrote:
Hi Go team,

I'm looking for a sponsor to review and upload the miniflux package.

https://salsa.debian.org/go-team/packages/miniflux

Thanks,
Maytham

There is one issue with debian/miniflux.postinst. If you install miniflux, and then run "dpkg-reconfigure miniflux", the postinst script will be run again. Then you end up with duplicate lines in /etc/miniflux/miniflux.conf. To avoid this, you should check the first parameter passed to the postinst script, and only do the configuration when it has the value of "configure":

case "$1" in
    configure)
        # do configuration
    ;;
esac

Regards,
James


Reply to: