From 858688fca084e06c8c0a4bd59b7fc0f7307ac90e Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Mon, 11 Aug 2025 20:22:17 +0200 Subject: [PATCH] =?utf8?q?W=20wersji=20oldstable=20niewyst=C4=99puje=20pli?= =?utf8?q?k=20xfce-x.svg.=20Dodanie=20warunku=20sprawdzaj=C4=85cego=20czy?= =?utf8?q?=20plik=20istnieje=20przed=20podj=C4=99ciem=20operacji=20na=20ni?= =?utf8?q?m.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 240279c..6dc8fb7 100644 --- a/install.sh +++ b/install.sh @@ -28,10 +28,12 @@ rm -rf /etc/lightdm; cp -rvv lightdm /etc; rm /usr/share/images/desktop-base/default; -rm /usr/share/backgrounds/xfce/xfce-x.svg; cp -rvv images/* /usr/share/images/desktop-base; ln -s /usr/share/images/desktop-base/d13_wallpaper.png /usr/share/images/desktop-base/default; -ln -s /usr/share/images/desktop-base/d13_wallpaper.png /usr/share/backgrounds/xfce/xfce-x.svg; +if [ -f /usr/share/backgrounds/xfce/xfce-x.svg ]; then + rm /usr/share/backgrounds/xfce/xfce-x.svg; + ln -s /usr/share/images/desktop-base/d13_wallpaper.png /usr/share/backgrounds/xfce/xfce-x.svg; +fi if [ -f /etc/skel/.face ]; then rm /etc/skel/.face; fi ln -s /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /etc/skel/.face; sed -i 's/lightdm_wallpaper.jpg/d13_wallpaper.png/' /etc/lightdm/lightdm-gtk-greeter.conf; -- 2.39.5