A folder is deleted and then used in kubuntu-docs.postinst . I
temporarily added a mkdir as a workaround.

 case "$1" in
   configure)
     if [ -d "/usr/share/doc/kde4/HTML/en/kubuntu" ]; then
                 rm -rf /usr/share/doc/kde4/HTML/en/kubuntu
                 if [ $(ls /usr/share/doc/kde4/HTML/en/ | wc -l) -eq 0 ]; then
                         rm -rf /usr/share/doc/kde4
                 fi
         fi
+        mkdir /usr/share/doc/kde/HTML/en/kubuntu/
         if which install-docs >/dev/null 2>&1; then
                 install-docs -i /usr/share/doc-base/kubuntu-systemdocs
                 ln -sf /usr/share/doc/kde/HTML/en/common \ 
                         /usr/share/doc/kde/HTML/en/kubuntu/
                 ln -sf /usr/share/doc/kde/HTML/en/kubuntu/index/index.html \
                         /usr/share/doc/kde/HTML/en/kubuntu/index.html
   fi
   ;;
 esac  
 exit 0

-- 
package kubuntu-docs 9.04.2 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/387364
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-docs in ubuntu.

-- 
kubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to