aboutsummaryrefslogtreecommitdiffstats
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
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
-rwxr-xr-xadd-syslog5
-rwxr-xr-xdel-syslog4
2 files changed, 0 insertions, 9 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 {
diff --git a/del-syslog b/del-syslog
index 5dea667..c280216 100755
--- a/del-syslog
+++ b/del-syslog
@@ -22,11 +22,7 @@ EOF
my $release = $1;
close($fh);
- if ($release && version->parse($release) < version->parse("2010.1")) {
- del_sysklogd_entry($package);
- } else {
del_rsyslog_entry($package);
- }
}
sub del_sysklogd_entry {