aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}