SHA256
1
0
forked from pool/postfix
postfix/pre_checkin.sh
Peter Varkoly b102dd3c5f - Remove rcpostfix symlink [jsc#PED-266]
- postfix-script requires cmp

- Remove rcpostfix symlink [jsc#PED-266] 

- postfix-script requires cmp

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=494
2024-08-19 05:01:05 +00:00

9 lines
234 B
Bash

#!/bin/bash
echo -n "Generating postfix-bdb "
cp postfix.changes postfix-bdb.changes
VERSION=$(awk '/^Version/ {print $2; exit;} {next;};' < postfix.spec)
perl -pi -e "s/^Version:.*/Version: $VERSION/" postfix-bdb.spec
echo "Done."