Package: fex
Version: 20140226-1
Severity: normal

Dear Maintainer,

when doing an first-time install of fex on my Debian sid installation,
fex.postinst failed:

Not creating home directory `/usr/share/fex'.
Installing initial copy of htdocs into /var/lib/fex/htdocs ...
cp: cannot stat '/usr/share/fex/htdocs/FAQ/*.css': No such file or directory
dpkg: error processing package fex (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 fex

I would suggest the following patch to fix that issue:

--- fex-20140226/debian/fex.postinst    2014-03-05 09:50:03.000000000 +0100
+++ fex-20140226-nocss/debian/fex.postinst      2014-03-18 15:13:34.000000000 
+0100
@@ -31,7 +31,7 @@
         for ext in html txt ico gif jpg;do
             cp /usr/share/fex/htdocs/*.${ext} /var/lib/fex/htdocs/
         done
-        for ext in html css gif faq;do
+        for ext in html faq;do
             cp /usr/share/fex/htdocs/FAQ/*.${ext} /var/lib/fex/htdocs/FAQ/
         done
         ln -sf /usr/share/javascript/jquery/jquery.js 
/var/lib/fex/htdocs/FAQ/jquery.js
@@ -58,7 +58,7 @@
                 for ext in html ico gif jpg;do
                     cp /usr/share/fex/htdocs/*.${ext} /var/lib/fex/htdocs/
                 done
-                for ext in html css gif faq;do
+                for ext in html faq;do
                     cp /usr/share/fex/htdocs/FAQ/*.${ext} 
/var/lib/fex/htdocs/FAQ/
                 done
                 rm -f "$tmp"


Regards,
Benedikt Wildenhain


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages fex depends on:
ii  adduser                                    3.113+nmu3
ii  debconf [debconf-2.0]                      1.5.52
ii  exim4-daemon-light [mail-transport-agent]  4.82-5
ii  libdigest-md5-file-perl                    0.08-1
ii  libjs-jquery                               1.7.2+dfsg-3
ii  perl                                       5.18.2-2+b1
ii  ucf                                        3.0027+nmu1
ii  xinetd [inet-superserver]                  1:2.3.15-3

Versions of packages fex recommends:
ii  fex-utils        20140226-1
ii  libnet-dns-perl  0.68-1.2
ii  perl-modules     5.18.2-2

fex suggests no packages.

-- debconf information:
  fex/lastver: 0


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to