summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-19 01:09:50 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-19 01:09:50 +0700
commit848ef9829339fc86d7c0e285bfa94353fe140a2b (patch)
tree06860e14108024b60be35c2a3588b78730914946
parent49cc824b72fbdc8c69b938e7c414b4f7a2341c81 (diff)
downloadtemplates-848ef9829339fc86d7c0e285bfa94353fe140a2b.tar.gz
templates-848ef9829339fc86d7c0e285bfa94353fe140a2b.tar.xz
doinst.sh: Give warning.
upgradepkg runs doinst.sh twice. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/doinst.sh b/doinst.sh
index 1cdfb9e..c8e9071 100644
--- a/doinst.sh
+++ b/doinst.sh
@@ -61,3 +61,7 @@ chroot . /usr/bin/gio-querymodules @LIBDIR@/gio/modules/ 1> /dev/null 2> /dev/nu
if [ -x /usr/bin/install-info ]; then
chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/blah.gz 2> /dev/null
fi
+
+# WARNING
+# When upgradepkg is used, doinst.sh gets run twice. So don't put
+# anything here that takes a long time to run.