summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--network/exim/exim.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/exim/exim.SlackBuild b/network/exim/exim.SlackBuild
index 9e5d3aca44..957240bd18 100644
--- a/network/exim/exim.SlackBuild
+++ b/network/exim/exim.SlackBuild
@@ -107,7 +107,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Rename the version specific binary to simply 'exim'.
-mv $PKG/usr/sbin/exim-$VERSION-* $PKG/usr/sbin/exim
+# e.g. version specific binary for 4.86.2 is 'exim-4.86_2-2'
+mv $PKG/usr/sbin/exim-$(echo $VERSION | sed 's/\./_/2')-* $PKG/usr/sbin/exim
# Additional symlinks provide compatibility with sendmail
mkdir -p $PKG/usr/lib # no LIBDIRSUFFIX here!