summaryrefslogtreecommitdiffstats
path: root/office/gnucash/gnucash.SlackBuild
diff options
context:
space:
mode:
author Lenard Spencer2018-04-01 13:20:27 +0200
committer Willy Sudiarto Raharjo2018-04-07 03:13:15 +0200
commitf1ea0a2404e06ae4b9acfa4c45c75823b5eef857 (patch)
tree0e4196e4091cac62f2fc022ab306686521d9c40e /office/gnucash/gnucash.SlackBuild
parent37a2496534494f5df838d232e477b956c6cce6fd (diff)
downloadslackbuilds-f1ea0a2404e06ae4b9acfa4c45c75823b5eef857.tar.gz
office/gnucash: Update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/gnucash/gnucash.SlackBuild')
-rw-r--r--office/gnucash/gnucash.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index 01bf65e4fa..d9b2f2e6a7 100644
--- a/office/gnucash/gnucash.SlackBuild
+++ b/office/gnucash/gnucash.SlackBuild
@@ -87,6 +87,14 @@ fi
set -e
+# First, make sure a previous Gnucash installation is removed:
+if [ -e /usr/bin/gnucash ]; then
+ echo "A previous Gnucash installation has been found."
+ echo "Please remove it before running this script."
+ exit 1
+fi
+
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP