From 565d2eeed5fdd85b516cbc76bc48be439e42c41f Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 29 Nov 2007 13:58:00 -0600 Subject: 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 Signed-off-by: Dan McGee --- contrib/proto.install | 4 ---- 1 file changed, 4 deletions(-) (limited to 'contrib') 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: -- cgit v1.2.3-70-g09d2