From 3c71e80ed4cea9332e4c4e81c44586779803854e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 28 Jul 2006 17:04:48 +0000 Subject: Fix force option. --- localmailtransportupdate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'localmailtransportupdate') diff --git a/localmailtransportupdate b/localmailtransportupdate index 2fe551f..2dcceb9 100755 --- a/localmailtransportupdate +++ b/localmailtransportupdate @@ -3,7 +3,7 @@ # /usr/local/sbin/localmailtransportinit # Copyright 2006 Jonas Smedegaard # -# $Id: localmailtransportupdate,v 1.1 2006-07-28 17:00:31 jonas Exp $ +# $Id: localmailtransportupdate,v 1.2 2006-07-28 17:04:48 jonas Exp $ # # Setup postfix transport map for a redpill organisation # @@ -77,7 +77,7 @@ if [ -f /etc/postfix/transport.addon ]; then fi ( cd /etc/postfix && diff $diffopts transport transport.new ) if [ "$force" = "1" ]; then - $do_update="y" + do_update="y" else echo -n "Above is the intended changes. OK to update (y/N)? " read do_update -- cgit v1.2.3