summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kyrylych <roman@archlinux.org>2008-01-30 14:15:17 +0200
committerDan McGee <dan@archlinux.org>2008-02-02 13:33:50 -0600
commit7cfb343b0fed556e82b6fbc81047c5461effab84 (patch)
tree2f41b392171710972e9ec975452cf2c77535f407
parentb1103a3eaf0c6bb2982ac90000628baa2d5c2079 (diff)
downloadpacman-7cfb343b0fed556e82b6fbc81047c5461effab84.tar.xz
Remove /bin/true from install.proto
Signed-off-by: Roman Kyrylych <roman@archlinux.org> [Dan: update indentation inside functions] Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--proto.install57
1 files 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: