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