[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#858643: Re : Bug#858643: desktop-base: File not found in the post-inst script



On Sun, Mar 26, 2017 at 03:50:31PM +0200, Wolfgang Schweer wrote:
> after investigating the issue once again, I figure that the bug should 
> be reassigned to desktop-base.

Please test this patch for desktop-base.postinst:

--- a/desktop-base.postinst	2017-03-27 10:08:10.672981110 +0200
+++ b/desktop-base.postinst	2017-03-27 09:48:26.033306086 +0200
@@ -35,10 +35,17 @@
 EOF
 
     # Use active theme as highest priority for background
+    if [ -f /usr/share/desktop-base/active-theme/wallpaper/contents/images/1920x1080.png ] ; then
+    update-alternatives --install \
+        /usr/share/images/desktop-base/desktop-background \
+        desktop-background \
+        /usr/share/desktop-base/active-theme/wallpaper/contents/images/1920x1080.png 70
+    else
     update-alternatives --install \
         /usr/share/images/desktop-base/desktop-background \
         desktop-background \
         /usr/share/desktop-base/active-theme/wallpaper/contents/images/1920x1080.svg 70
+    fi
     # Alternatives for the background in theme packages
     while read theme filename priority; do
         update-alternatives --install \


Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: