summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-14 18:24:16 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-14 18:24:16 +0100
commit1ef8bbd01fcaad48d8b99c3c1927b5020fa8d632 (patch)
tree39274abe07c47dbb7764aa65b5508654a48dadce
parent2773a3ffd05ba6860da5370e4315862b35660abb (diff)
downloaditzks-systems-1ef8bbd01fcaad48d8b99c3c1927b5020fa8d632.tar.gz
itzks-systems-1ef8bbd01fcaad48d8b99c3c1927b5020fa8d632.tar.bz2
itzks-systems-1ef8bbd01fcaad48d8b99c3c1927b5020fa8d632.zip
sbin/itzks-update-disklserver-squashfs-images: Remove previous x2gothinclient background before copying/symlinking.
-rwxr-xr-xsbin/itzks-update-disklserver-squashfs-images1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/itzks-update-disklserver-squashfs-images b/sbin/itzks-update-disklserver-squashfs-images
index dd686ff..b47531a 100755
--- a/sbin/itzks-update-disklserver-squashfs-images
+++ b/sbin/itzks-update-disklserver-squashfs-images
@@ -88,6 +88,7 @@ if [ -e "/etc/ltsp/x2gothinclient-settings.conf" ]; then
fi
if test -f "$TC_CONFIG/x2gothinclient-${TC_FLAVOUR}_background.svg"; then
+ rm "$TC_CHROOT/etc/x2go/x2gothinclient-${TC_FLAVOUR}_background.svg"
cp -v "$TC_CONFIG/x2gothinclient-${TC_FLAVOUR}_background.svg" "$TC_CHROOT/etc/x2go/x2gothinclient-${TC_FLAVOUR}_background.svg"
ln -sf "/etc/x2go/x2gothinclient-${TC_FLAVOUR}_background.svg" "$TC_CHROOT/etc/x2go/x2gothinclient-background.svg"
fi