From 6ae2fc41d6f714229074d3721072cab802da722b Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Thu, 6 Sep 2007 13:04:05 +0000 Subject: more readable scenario (installation/upgrade/removal) checking --- add-syslog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'add-syslog') diff --git a/add-syslog b/add-syslog index 092d50b..1effdce 100755 --- a/add-syslog +++ b/add-syslog @@ -23,8 +23,8 @@ Available options: EOF my ($package, $number, $dest) = @ARGV; -# don't do anything in upgrade -exit(0) if $number != 1; +# don't do anything for upgrade +exit(0) if $number == 2; # check arguments my @facilities = qw/auth authpriv cron daemon \ -- cgit v1.2.1