From 848ef9829339fc86d7c0e285bfa94353fe140a2b Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 19 Feb 2017 01:09:50 +0700 Subject: doinst.sh: Give warning. upgradepkg runs doinst.sh twice. Signed-off-by: Willy Sudiarto Raharjo --- doinst.sh | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3