[pkg-fso-maint] [pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, gismo-debian-split-config, updated. debian/0.2.0-git20080909-6-5-g1401c84

Luca Capello luca at pca.it
Sun Oct 26 16:31:05 UTC 2008

Hi there!

On Sun, 26 Oct 2008 17:16:09 +0100, Luca Capello wrote:
> The following commit has been merged in the gismo-debian-split-config branch:
> commit 1401c846536143d8eb7600e9a604cceed1cf3b5d
> Author: Luca Capello <luca at pca.it>
> Date:   Sun Oct 26 17:15:49 2008 +0100
>     debian/fso-frameworkd.init: exit with 0 if no frameworkd.conf
> diff --git a/debian/fso-frameworkd.init b/debian/fso-frameworkd.init
> index 4259253..620a29c 100755
> --- a/debian/fso-frameworkd.init
> +++ b/debian/fso-frameworkd.init
> @@ -35,7 +35,7 @@ case "$1" in
>  	    echo "No $CONFFILE found, frameworkd cannot start.  Please read"
>  	    echo "/usr/share/doc/fso-frameworkd/README.Debian."
>  	    echo
> -	    exit 1
> +	    exit 0

In case someone puzzles itself why this: if we exit with an error,
fso-frameworkd cannot be installed at all, since:

- we don't depend on the fso-config virtual package, as there's no way
  to pull the correct package by guessing the device

- we don't ship a general /etc/frameworkd.conf either, doing so would
  mean the burden of managing the config file through debconf or
  update-alternatives (and since there's one config file per device this
  would be a nonsense anyway)

Instead, I think the solution I adopted is the correct one:
fso-frameworkd installs without any problem and *tells* to read the
README.Debian file, which contains a section about the fso-config
virtual package [1]

Thx, bye,
Gismo / Luca

[1] http://git.debian.org/?p=pkg-fso/fso-frameworkd.git;a=commitdiff;h=05ff70d75f4b69a783dc0308d162c76e4e39cf1c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20081026/07710ff0/attachment.pgp 

More information about the pkg-fso-maint mailing list