diff options
Diffstat (limited to 'office/gnucash/gnucash.SlackBuild')
-rw-r--r-- | office/gnucash/gnucash.SlackBuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild index 01bf65e4fa93a..d9b2f2e6a748b 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 |