SOURCES: kdebase-startkde.patch - better check

Adam Gorzkiewicz adgor at isn.pl
Sun Nov 13 22:27:17 CET 2005


On Sun, 13 Nov 2005 21:03:42 +0100 
glen <glen at pld-linux.org> wrote:
> Author: glen                         Date: Sun Nov 13 20:03:42 2005
> GMT Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - better check
> 
> ---- Files affected:
> SOURCES:
>    kdebase-startkde.patch (1.8 -> 1.9) 
> 
> ---- Diffs:
> 
> ================================================================
> Index: SOURCES/kdebase-startkde.patch
> diff -u SOURCES/kdebase-startkde.patch:1.8
> SOURCES/kdebase-startkde.patch:1.9 ---
> SOURCES/kdebase-startkde.patch:1.8	Sun Nov 13 21:01:35 2005 ++
> + SOURCES/kdebase-startkde.patch	Sun Nov 13 21:03:37 2005 @@
> -4,7 +4,7 @@ 
>   # run KPersonalizer before the session, if this is the first login
>   if test "$kpersonalizerrc_general_firstlogin" = "true"; then
> -+  if test `/usr/bin/which kpersonalizer 2>/dev/null`; then
> ++  if [ -x /usr/bin/kpersonalizer ]; then
              ^^^^^^^^^ 
>       # start only dcopserver, don't start whole kdeinit (takes too
>       # long)
>       echo 'startkde: Running kpersonalizer...'  1>&2
>       dcopserver

I think i'ts wrong to hardcode the accurate path here. In this case You
can't eg. to redefine "%{_prefix}" at build time.

-- 
Adam Gorzkiewicz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20051113/a6dcb2da/attachment-0002.bin


More information about the pld-devel-en mailing list