2017-12-05 11:46:24 +01:00
|
|
|
--- ./scripts/Makefile.am.orig 2017-12-01 15:44:10.626118239 +0000
|
|
|
|
+++ ./scripts/Makefile.am 2017-12-01 15:44:14.182107984 +0000
|
|
|
|
@@ -23,6 +23,7 @@ EXTRA_DIST = \
|
2011-05-16 18:07:44 +02:00
|
|
|
ocaml-find-requires.sh ocaml-find-provides.sh \
|
2017-12-05 11:46:24 +01:00
|
|
|
pkgconfigdeps.sh libtooldeps.sh metainfo.prov \
|
2011-05-16 18:07:44 +02:00
|
|
|
fontconfig.prov desktop-file.prov script.req \
|
|
|
|
+ sysvinitdeps.sh \
|
|
|
|
macros.perl macros.php macros.python
|
|
|
|
|
|
|
|
rpmconfig_SCRIPTS = \
|
2017-12-05 11:46:24 +01:00
|
|
|
@@ -41,6 +42,7 @@ rpmconfig_SCRIPTS = \
|
2011-05-16 18:07:44 +02:00
|
|
|
pkgconfigdeps.sh libtooldeps.sh \
|
|
|
|
ocaml-find-requires.sh ocaml-find-provides.sh \
|
|
|
|
fontconfig.prov desktop-file.prov script.req \
|
|
|
|
+ sysvinitdeps.sh \
|
2017-01-19 16:41:55 +01:00
|
|
|
rpmdb_loadcvt rpm2cpio.sh tgpg
|
2011-05-16 18:07:44 +02:00
|
|
|
|
|
|
|
rpmconfig_DATA = \
|
2017-12-05 11:46:24 +01:00
|
|
|
--- ./scripts/sysvinitdeps.sh.orig 2017-12-01 15:44:14.183107975 +0000
|
|
|
|
+++ ./scripts/sysvinitdeps.sh 2017-12-01 15:44:14.183107975 +0000
|
2011-05-16 18:07:44 +02:00
|
|
|
@@ -0,0 +1,17 @@
|
2010-12-08 14:40:05 +01:00
|
|
|
+#!/bin/sh
|
|
|
|
+
|
2011-05-16 18:07:44 +02:00
|
|
|
+[ "$1" = '-P' -o "$1" = '--provides' ] || {
|
|
|
|
+ cat > /dev/null
|
|
|
|
+ exit 0
|
|
|
|
+}
|
|
|
|
+
|
2010-12-08 14:40:05 +01:00
|
|
|
+while read file; do
|
|
|
|
+ case $file in
|
|
|
|
+ */etc/init.d/*)
|
|
|
|
+ provs=`grep '^# *Provides:' $file | sed 's,^.*:,,'`
|
|
|
|
+ for p in $provs; do
|
|
|
|
+ echo "sysvinit($p)"
|
|
|
|
+ done
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+done
|