update-metainit sounds better to me
authorJoachim Breitner <mail@joachim-breitner.de>
Sat, 16 Jun 2007 14:43:08 +0000 (14:43 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Sat, 16 Jun 2007 14:43:08 +0000 (14:43 +0000)
debian/metainit.install
update-metainit [new file with mode: 0644]
update-metainits [deleted file]

index 637678e..1ce159a 100644 (file)
@@ -1,4 +1,4 @@
 utils          /usr/share/metainit/
 translators    /usr/share/metainit/
-update-metainits       /usr/sbin
+update-metainit        /usr/sbin
 
diff --git a/update-metainit b/update-metainit
new file mode 100644 (file)
index 0000000..bfbf382
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# Interface:
+# Rebuild init scripts (e.g., after a meta init script was added or edited)
+# $0 
+# 
+# Removed meta-init-script:
+# $0 --remove-metainit <scriptname>
+#
+# If a init sytem is removed, the maintainer scripts should
+# call a script that cleans up the generated files for that system directly.
+
+# This will probably be /usr/lib/metainit/translators once
+if test -n "$METAINIT_PREFIX"
+then
+       translators_dir="$METAINIT_PREFIX/translators/"
+else
+       translators_dir="/usr/share/metainit/translators/"
+fi
+
+# This is just a thin wrapper around the per-init-system
+# translators. 
+for trans in $translators_dir/*
+do
+       $trans "$@"
+done
diff --git a/update-metainits b/update-metainits
deleted file mode 100644 (file)
index bfbf382..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# Interface:
-# Rebuild init scripts (e.g., after a meta init script was added or edited)
-# $0 
-# 
-# Removed meta-init-script:
-# $0 --remove-metainit <scriptname>
-#
-# If a init sytem is removed, the maintainer scripts should
-# call a script that cleans up the generated files for that system directly.
-
-# This will probably be /usr/lib/metainit/translators once
-if test -n "$METAINIT_PREFIX"
-then
-       translators_dir="$METAINIT_PREFIX/translators/"
-else
-       translators_dir="/usr/share/metainit/translators/"
-fi
-
-# This is just a thin wrapper around the per-init-system
-# translators. 
-for trans in $translators_dir/*
-do
-       $trans "$@"
-done