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

Re: Find the display



>>>> "BC" == Ben Collins <bcollins@debian.org> writes:

[...]

BC> THe correct thing would be to fail if sawfish is running, in the pre-inst.
BC> Force the user to upgrade at a console. Lot's of things like XDM and GDM,
BC> do this aswell. It is the only sane way. Folks who do upgrades, are always
BC> advised to do it from a tty, and not in X, anyway.

Yes, of course.

My postinst script is:

# restart sawfish
    if [ `pidof sawfish` ]; then
       sawfish-client -display :0.0 -f restart
    fi


Christian



Reply to: