From 7cfb343b0fed556e82b6fbc81047c5461effab84 Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Wed, 30 Jan 2008 14:15:17 +0200 Subject: Remove /bin/true from install.proto Signed-off-by: Roman Kyrylych [Dan: update indentation inside functions] Signed-off-by: Dan McGee --- proto.install | 57 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/proto.install b/proto.install index 074840e4..2a8993d1 100644 --- a/proto.install +++ b/proto.install @@ -1,36 +1,37 @@ -# This is a default template for a post-install scriptlet. You can -# remove any functions you don't need (and this header). +# This is a default template for a post-install scriptlet. +# Uncomment only required functions and remove any functions +# you don't need (and this header). -# arg 1: the new package version -pre_install() { - /bin/true -} +## arg 1: the new package version +#pre_install() { + # do something here +#} -# arg 1: the new package version -post_install() { - /bin/true -} +## arg 1: the new package version +#post_install() { + # do something here +#} -# arg 1: the new package version -# arg 2: the old package version -pre_upgrade() { - /bin/true -} +## arg 1: the new package version +## arg 2: the old package version +#pre_upgrade() { + # do something here +#} -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - /bin/true -} +## arg 1: the new package version +## arg 2: the old package version +#post_upgrade() { + # do something here +#} -# arg 1: the old package version -pre_remove() { - /bin/true -} +## arg 1: the old package version +#pre_remove() { + # do something here +#} -# arg 1: the old package version -post_remove() { - /bin/true -} +## arg 1: the old package version +#post_remove() { + # do something here +#} # vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf