[X2Go-Commits] [live-build-x2go] 22/44: 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:37:14 CET 2022
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster-heuler
in repository live-build-x2go.
commit d0733b77a7a8f10b6a801250de3d8c47abdc6b29
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 | 3 +++
1 file changed, 3 insertions(+)
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 8e4a9dc..1ebd92b 100755
--- a/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
+++ b/config/includes.chroot/etc/network/if-up.d/0440-getxscreensaverimgs
@@ -49,6 +49,9 @@ if [ -n "$XSAVERIMAGES" ] ; then
: # NOP
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
+
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