]> gitweb.morketsmerke.org Git - xfcedebian.git/commitdiff
W wersji oldstable niewystępuje plik xfce-x.svg. Dodanie warunku sprawdzającego czy...
authorxf0r3m <jakubstasinski@protonmail.com>
Mon, 11 Aug 2025 18:22:17 +0000 (20:22 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Mon, 11 Aug 2025 18:22:17 +0000 (20:22 +0200)
install.sh

index 240279ca0a249cd526c2161537316974b4f2ae79..6dc8fb7085106205706fb670d9e38dbcbfbb80c1 100644 (file)
@@ -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;