summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 1bc297b..61a8ac1 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -773,6 +773,8 @@ mkdir -p ${LIVE_ROOTDIR}/etc/X11/xdm/liveslak-xdm
cp -a ${LIVE_TOOLDIR}/xdm/* ${LIVE_ROOTDIR}/etc/X11/xdm/liveslak-xdm/
# Point xdm to the custom /etc/X11/xdm/liveslak-xdm/xdm-config:
sed -i ${LIVE_ROOTDIR}/etc/rc.d/rc.4 -e 's,bin/xdm -nodaemon,& -config /etc/X11/xdm/liveslak-xdm/xdm-config,'
+# Adapt xdm configuration to target architecture:
+sed -i "s/@LIBDIR@/lib${DIRSUFFIX}/g" ${LIVE_ROOTDIR}/etc/X11/xdm/liveslak-xdm/xdm-config
if [ -f ${LIVE_ROOTDIR}/etc/rc.d/rc.networkmanager ]; then
# Enable NetworkManager if present: