aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorLenard Spencer <lspencer31@cfl.rr.com>2018-04-01 18:20:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-07 08:13:15 +0700
commitf1ea0a2404e06ae4b9acfa4c45c75823b5eef857 (patch)
tree0e4196e4091cac62f2fc022ab306686521d9c40e /office
parent37a2496534494f5df838d232e477b956c6cce6fd (diff)
office/gnucash: Update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/gnucash/README5
-rw-r--r--office/gnucash/gnucash.SlackBuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/office/gnucash/README b/office/gnucash/README
index 58526fd12d6c..d79d07606c5b 100644
--- a/office/gnucash/README
+++ b/office/gnucash/README
@@ -8,10 +8,11 @@ As quick and intuitive to use as a checkbook register, it is based
on professional accounting principles to ensure balanced books and
accurate reports.
-Reuires libgnomecanvas, goffice0.8, and webkitgtk.
-
Pass OFX="yes" for OFX (USA) (requies libofx)
Pass AQ="yes" to enable aqbanking (Germany) (requires aqbanking)
If you want the SQL database integration, you must first have libdbi
and libdbi-drivers installed, and then pass the DBI="yes" flag.
+
+NOTE: You must remove any previous installation of Gnucash before
+running this script, otherwise the build will fail.
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index 01bf65e4fa93..d9b2f2e6a748 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