Add alternatives configuration via x-window-manager. Thanks to Horst

SVN revision: 32676
devs/princeamd/enlightenment-0.17-elive
kaethorn 16 years ago committed by kaethorn
parent d9c1da31df
commit a4c4b917a4
  1. 23
      debian/enlightenment.postinst
  2. 4
      debian/enlightenment.preinst

@ -0,0 +1,23 @@
#!/bin/sh
set -e
add_wm_entry ()
{
update-alternatives --install /usr/bin/x-window-manager \
x-window-manager /usr/bin/enlightenment_start 50
}
case "$1" in
configure)
add_wm_entry
;;
abort-*)
exit 1
;;
*)
;;
esac
#DEBHELPER#

@ -0,0 +1,4 @@
#!/bin/sh
if test -x /usr/sbin/update-alternatives; then
update-alternatives --remove x-window-manager /usr/bin/enlightenment_start
fi
Loading…
Cancel
Save