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

How to move a conffile ?



With the next revision of masqmail, I'd like to move the conffile
/etc/masqmail.conf to /etc/masqmail/masqmail.conf. What's the best way to do
this ?

Is it okay if I just change the position in conffiles and then include this
in the preinst script, or do I have to make more efforts (e.g. announce this
to the user via debconf) ?

    # move config file to new location
    if [ -e /etc/masqmail.conf ]; then
        if [ ! -d /etc/masqmail ]; then
            mkdir /etc/masqmail
        fi
        mv -f /etc/masqmail.conf /etc/masqmail/
    fi

    

    Gregor Hoffleit
    



Reply to: