aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/qt5/qt5.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/libraries/qt5/qt5.SlackBuild b/libraries/qt5/qt5.SlackBuild
index fff7d43aba954..f4b56a82144d2 100644
--- a/libraries/qt5/qt5.SlackBuild
+++ b/libraries/qt5/qt5.SlackBuild
@@ -87,6 +87,13 @@ else
LIBDIRSUFFIX=""
fi
+if [ -e /var/log/packages/$PRGNAM-legacy-[[:digit:]]* ]; then
+ printf "%s\n%s\n%s\n" "You appear to have $PRGNAM-legacy installed." \
+ "$PRGNAM will not co-exist with $PRGNAM-legacy." \
+ "Please uninstall $PRGNAM-legacy and restart the SlackBuild."
+ exit 1
+fi
+
set -e
rm -rf $PKG