zhaoway wrote:
> The Trird Q is:
> I share the /home among debian and redhat, the same user I am under both
> systems: zhaoway. same directory. But I wanna different windowmanager. How
> can I achieve this? Right now, I test [ -f /etc/HOSTNAME ] to decide
> whether .xinitrc is under debian or under redhat. Any other solutions?

If /etc/debian_version exists, its a debian system. So:

if [ -e /etc/debian_version ]; then
        wmaker
else
        fvwm2
fi

-- 
see shy jo

Reply via email to