aboutsummaryrefslogtreecommitdiffstats
path: root/add-syslog
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-10-28 08:05:20 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-10-28 08:05:20 +0000
commit1a3f076b1fa3aeb9e878faccfed5889ebc3a7ff0 (patch)
tree9f13d7376c80232d82b37241c298d7536e5705ed /add-syslog
parentc64fa938609c6bee9dd02adc1a37df89a9ebd116 (diff)
downloadrpm-helper-1a3f076b1fa3aeb9e878faccfed5889ebc3a7ff0.tar
rpm-helper-1a3f076b1fa3aeb9e878faccfed5889ebc3a7ff0.tar.gz
rpm-helper-1a3f076b1fa3aeb9e878faccfed5889ebc3a7ff0.tar.bz2
rpm-helper-1a3f076b1fa3aeb9e878faccfed5889ebc3a7ff0.tar.xz
rpm-helper-1a3f076b1fa3aeb9e878faccfed5889ebc3a7ff0.zip
Remove mandriva support
Diffstat (limited to 'add-syslog')
-rwxr-xr-xadd-syslog5
1 files changed, 0 insertions, 5 deletions
diff --git a/add-syslog b/add-syslog
index 7fc1836..c15bc8d 100755
--- a/add-syslog
+++ b/add-syslog
@@ -53,13 +53,8 @@ EOF
close($fh);
# add an entry to default syslog implementation, if installed
- if ($release && version->parse($release) < version->parse("2010.1")) {
- add_sysklogd_entry($package, $source, $dest, $facility, $min, $max)
- if -f '/etc/init.d/syslog';
- } else {
add_rsyslog_entry($package, $source, $dest, $facility, $min, $max)
if -f '/etc/init.d/rsyslog';
- }
}
sub add_sysklogd_entry {