# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/lxde-common/lxde-common.conf # Copyright (C) 2009 - 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- hook_add postinstall 3 "register_wm lxde LXDE $bindir/startlxde" xdg_pc() { cat > $root/etc/profile.d/lxde <<-EOT export XDG_DATA_DIRS="\${XDG_DATA_DIRS}${XDG_DATA_DIRS+:}/$prefix/share" export XDG_CONFIG_DIRS="\${XDG_CONFIG_DIRS}${XDG_CONFIG_DIRS+:}$sysconfdir/xdg" EOT } hook_add postmake 5 "xdg_pc"