Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/proto.install
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2007-11-29 13:58:00 -0600
committerDan McGee <dan@archlinux.org>2007-12-10 23:02:07 -0600
commit565d2eeed5fdd85b516cbc76bc48be439e42c41f (patch)
treef17e86c79386c3e977bb9625013886dd74af2071 /contrib/proto.install
parent9781d0d637fb2a077b0c4b262af1e2fb4decc2a0 (diff)
Correct scriptlet usage pattern
The new pattern is as follows: . /path/to/scriptlet post_upgrade X Y This requires less frameworking in the install scripts (the three lines that shift and eval a function are nasty) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/proto.install')
-rw-r--r--contrib/proto.install4
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/proto.install b/contrib/proto.install
index 4bf55280..074840e4 100644
--- a/contrib/proto.install
+++ b/contrib/proto.install
@@ -33,8 +33,4 @@ post_remove() {
/bin/true
}
-op=$1
-shift
-["$(type -t "$op")" = "function" ] && $op "$@"
-
# vim:set ts=2 sw=2 et: