forked from enlightenment/enlightenment
Add alternatives configuration via x-window-manager. Thanks to Horst
SVN revision: 32676
This commit is contained in:
parent
d9c1da31df
commit
a4c4b917a4
|
@ -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…
Reference in New Issue