From 6dd435b71505b13f2d1d56fabf9d4242b7e059c5 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 20 Feb 2020 00:26:32 +0100 Subject: Allow direct scanning via xsane (no temporary intermediate files) in Gimp This was fixed in Slackware as well in the meantime, but it does not harm to keep it in here. --- make_slackware_live.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 05a7398..2759c7b 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1763,6 +1763,12 @@ cat << EOT > ${LIVE_ROOTDIR}/etc/fonts/local.conf EOT chroot ${LIVE_ROOTDIR} fc-cache -f +# Allow direct scanning via xsane (no temporary intermediate files) in Gimp: +if [ ! -L ${LIVE_ROOTDIR}/usr/lib${DIRSUFFIX}/gimp/2.0/plug-ins/xsane ]; then + mkdir -p ${LIVE_ROOTDIR}/usr/lib${DIRSUFFIX}/gimp/2.0/plug-ins + ln -s /usr/bin/xsane \ + ${LIVE_ROOTDIR}/usr/lib${DIRSUFFIX}/gimp/2.0/plug-ins/xsane +fi # -------------------------------------------------------------------------- # echo "-- Configuring XFCE." -- cgit v1.2.3