[X2Go-Commits] [live-build-x2go] 38/60: copy the files from the slides directory, not the entire folder as a subfolder to the destination

git-admin at x2go.org git-admin at x2go.org
Mon Nov 28 19:43:52 CET 2022


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/mate-minidesktop-buster
in repository live-build-x2go.

commit fea35ae6ad958b314d1084d09074abb2107c6cce
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Thu Jun 25 01:10:51 2020 +0200

    copy the files from the slides directory, not the entire folder as a
    subfolder to the destination
---
 config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs b/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
index 2921436..02fa94a 100755
--- a/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
+++ b/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
@@ -62,7 +62,7 @@ if [ -n "$XSAVERIMAGES" ] ; then
 		fi
 
 		# If this directory exists, then we're a MMD and images need to go there.  Hardlinking them to save space.
-		[ -d ${USERHOME}/Pictures ] && cp -al ${SLIDESDIR} ${USERHOME}/Pictures
+		[ -d ${USERHOME}/Pictures ] && cp -al ${SLIDESDIR}/* ${USERHOME}/Pictures
 
 		echo -en "\n$(date +'%F | %T | ')'$0': Screensaver download complete." | tee -a /dev/tty8
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list