tags 431582 + patch
thanks

On Tue, 03 Jul 2007 18:15:03 +0200, Michael Ablassmeier wrote:

>  Setting up karrigell-demo (2.3.3-1) ...
>   chown: cannot access `/usr/share/karrigell/webapps/demo/records': No such 
> file or directory
>   dpkg: error processing karrigell-demo (--configure):
>    subprocess post-installation script returned error exit status 1
>   Errors were encountered while processing:
>    karrigell-demo
>   E: Sub-process /usr/bin/dpkg returned an error code (1)

karrigell-demo's postinst tried to chown a non-existing
file/directory. For the proper working of the demo application it
seems to be enough to chown
/usr/share/karrigell/webapps/demo/records.skl.

Find attached a patch that implements this change.

Cheers,
gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    
diff -u karrigell-2.3.3/debian/karrigell-demo.postinst karrigell-2.3.3/debian/karrigell-demo.postinst
--- karrigell-2.3.3/debian/karrigell-demo.postinst
+++ karrigell-2.3.3/debian/karrigell-demo.postinst
@@ -21,7 +21,7 @@
 
 # fix ownership, karrigell needs to write into the directories
 chown -R  karrigell /usr/share/karrigell/webapps/demo/*/
-chown -R  karrigell /usr/share/karrigell/webapps/demo/records
+chown karrigell /usr/share/karrigell/webapps/demo/records.skl
 
 #DEBHELPER#
 exit 0
diff -u karrigell-2.3.3/debian/changelog karrigell-2.3.3/debian/changelog
--- karrigell-2.3.3/debian/changelog
+++ karrigell-2.3.3/debian/changelog
@@ -1,3 +1,10 @@
+karrigell (2.3.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Only chown existing files in karrigell-demo's postinst (closes: #431582).
+
+ -- gregor herrmann <[EMAIL PROTECTED]>  Sat, 08 Sep 2007 01:34:08 +0200
+
 karrigell (2.3.3-1) unstable; urgency=low
 
   * new upstream version

Attachment: signature.asc
Description: Digital signature

Reply via email to