summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/fontforge/fontforge.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 943290c150..0e5952bb93 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -25,7 +25,7 @@
# Currently maintained by David Woodfall <dave@slackbuilds.org>
#
# 2020-10-12 20:48:40 +0100:
-# Update to Version ff 20190801, gnulib 20200505~0747bf0
+# Update to Version ff 20190801, gnulib 20200505~0747bf0
# Added --without-libuninameslist
PRGNAM=fontforge
@@ -38,6 +38,12 @@ FREETYPE=${FREETYPE:-2.10.0}
GNULIB=${GNULIB:-20200505~0747bf0}
UTHASH=${UTHASH:-2.1.0}
+if [ -e $( echo /var/log/packages/$PRGNAM-*-*-* ) ]; then
+ echo "Please uninstall any previous versions of $PRGNAM first."
+ echo "Exiting."
+ exit 1
+fi
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;