aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2007-09-06 09:44:35 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2007-09-06 09:44:35 +0000
commitae092ecc77122af86b4525df11fe2e8a89a6aa24 (patch)
tree0309506c8e73ce5f12e9edfb0cef2fcbb5f30201
parent6c41bf2e4e1f59645582f1308487028c438c828e (diff)
downloadrpm-helper-ae092ecc77122af86b4525df11fe2e8a89a6aa24.tar
rpm-helper-ae092ecc77122af86b4525df11fe2e8a89a6aa24.tar.gz
rpm-helper-ae092ecc77122af86b4525df11fe2e8a89a6aa24.tar.bz2
rpm-helper-ae092ecc77122af86b4525df11fe2e8a89a6aa24.tar.xz
rpm-helper-ae092ecc77122af86b4525df11fe2e8a89a6aa24.zip
drop get-free-syslog-facility helper, obsoleted by add-syslog
-rwxr-xr-xget-free-syslog-facility12
-rw-r--r--rpm-helper.macros.in3
2 files changed, 0 insertions, 15 deletions
diff --git a/get-free-syslog-facility b/get-free-syslog-facility
deleted file mode 100755
index 4bbdba1..0000000
--- a/get-free-syslog-facility
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-# $Id$
-# helper script for rpm scriptlets to get a free syslog local facility
-
-if [ -f /etc/syslog.conf ]; then
- for (( i=0; i <= 7; i++ )); do
- if ! grep -q "^local$i" /etc/syslog.conf; then
- echo "local$i"
- break
- fi
- done
-fi
diff --git a/rpm-helper.macros.in b/rpm-helper.macros.in
index 0204544..527ddec 100644
--- a/rpm-helper.macros.in
+++ b/rpm-helper.macros.in
@@ -5,9 +5,6 @@
%_get_password_helper %_rpm_helper_dir/get-password
%_get_password() $(%_get_password_helper %{1})
-%_get_free_syslog_facility_helper %_rpm_helper_dir/get-free-syslog-facility
-%_get_free_syslog_facility() $(%_get_free_syslog_facility_helper)
-
%_create_ghostfile_helper %_rpm_helper_dir/create-file
%create_ghostfile() %_create_ghostfile_helper %{name} $1 %{1} %{2} %{3} %{4} \
%{nil}