diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2007-09-06 13:04:05 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2007-09-06 13:04:05 +0000 |
commit | 6ae2fc41d6f714229074d3721072cab802da722b (patch) | |
tree | cadfd758544ab3bce80660b2f8685819bd5556cf /add-syslog | |
parent | e29bfa88ace99b08bfe8e341649a3161c371e31f (diff) | |
download | rpm-helper-6ae2fc41d6f714229074d3721072cab802da722b.tar rpm-helper-6ae2fc41d6f714229074d3721072cab802da722b.tar.gz rpm-helper-6ae2fc41d6f714229074d3721072cab802da722b.tar.bz2 rpm-helper-6ae2fc41d6f714229074d3721072cab802da722b.tar.xz rpm-helper-6ae2fc41d6f714229074d3721072cab802da722b.zip |
more readable scenario (installation/upgrade/removal) checking
Diffstat (limited to 'add-syslog')
-rwxr-xr-x | add-syslog | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 \ |