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

Re: WIndow manager policy question



Le Wed, Jul 29, 1998 at 12:42:13PM -0400, Shaleh écrivait:
> I just recieved a bug report on Enlightenment asking for me to put it in
> /etc/X11/window-managers.  Fairly confident that touching another
> packages files would be wrong, what is the correct way to get E into
> this file?  Or should my package touch /etc/X11/window-managers?

If you're using deb-make, you can simply create a debian/X11/window-managers
file containing the line you want, the debstd script will do what you need :

| for i in services inittab crontab protocols profile shells rpc shells \
|   syslog.conf conf.modules modules aliases \
|   X11/Xresources X11/config X11/window-managers X11/xinit ; do
                              ^^^^^^^^^^^^^^^^^^^
|   if [ -f $3$i ]; then
|     FILEX="$i"
|     cat /usr/lib/deb-make/etc.first.postinst $3$i \
|       /usr/lib/deb-make/etc.last.postinst | addscript postinst
|     addscript postrm </usr/lib/deb-make/etc.postrm
|     if [ "$i" = "aliases" ]; then
|       echo 'newaliases || echo "newaliases command not available"' | \
|	addscript postinst
|       echo 'newaliases || echo "newaliases command not available"' | \
|	addscript postrm
|     fi
|     if [ "$i" = "services" ]; then
|       echo -e "Warning: Please submit modifications to /etc/services to the ma
|intainer\n  of the netbase package"
|      fi
|    fi
|  done

But this method doesn't allow you to make it your default WM. 

HTH.
-- 
Hertzog Raphaël -+- rhertzog@hrnet.fr -+- http://www.mygale.org/~hra/


--  
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: