~mil/sxmo-xdm-config

9ff3e6a95d549f72d174a2c84e5e076662a2d570 — Anjandev Momi 10 months ago 70dca9b 0.2.1
Fix if user doesn't have XDG_CONFIG vars set, they cannot text via ssh

Fixes issue #129

Signed-off-by: Anjandev Momi <anjan@momi.ca>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2 files changed, 8 insertions(+), 1 deletions(-)

M Makefile
A profilesxmo.sh
M Makefile => Makefile +2 -1
@@ 8,7 8,8 @@ install:
	cp -f Xsetup_0 ${DESTDIR}/usr/lib/X11/xdm/
	cp -f GiveConsole ${DESTDIR}/usr/lib/X11/xdm/
	cp -f xdm.confd ${DESTDIR}/etc/conf.d/xdm
	chmod a+rx ${DESTDIR}/usr/lib/X11/xdm/Xsession ${DESTDIR}/usr/lib/X11/xdm/Xsetup_0 ${DESTDIR}/usr/lib/X11/xdm/GiveConsole
	cp -f profilesxmo.sh ${DESTDIR}/etc/profile.d/sxmo.sh
	chmod a+rx ${DESTDIR}/usr/lib/X11/xdm/Xsession ${DESTDIR}/usr/lib/X11/xdm/Xsetup_0 ${DESTDIR}/usr/lib/X11/xdm/GiveConsole ${DESTDIR}/etc/profile.d/sxmo.sh

.PHONY: install


A profilesxmo.sh => profilesxmo.sh +6 -0
@@ 0,0 1,6 @@
export XDG_CONFIG_HOME=~/.config
export LOGDIR="$XDG_CONFIG_HOME"/sxmo/modem
export CONTACTS="$XDG_CONFIG_HOME"/sxmo/contacts.tsv
export XDG_CACHE_HOME=~/.cache
export XDG_DATA_HOME=~/.local/share
export XDG_RUNTIME_HOME=~/.local/run