From 96993f9096439eb0208e3bf9507731598ba12410 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 18 May 2011 23:18:01 +0200 Subject: [PATCH] claws-mail: changed to use default prefix instead of 'opt/claws-mail' (IssueID #98) --- mail/claws-mail/claws-conf.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mail/claws-mail/claws-conf.in b/mail/claws-mail/claws-conf.in index 3d4c8d207..b410d2478 100644 --- a/mail/claws-mail/claws-conf.in +++ b/mail/claws-mail/claws-conf.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../claws-mail/claws-conf.in -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2011 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -14,9 +14,7 @@ if [ "$prefix_auto" = 1 ]; then prefix_auto=0 - if [ "$pkg" == "claws-mail" ]; then - prefix="opt/claws-mail" - else + if [ "$pkg" != "claws-mail" ]; then pkgprefix -t claws-mail prefix=$( pkgprefix claws-mail ) fi