summaryrefslogtreecommitdiff
path: root/libraries/qt5/qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt5/qt5.SlackBuild')
-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 fff7d43aba..f4b56a8214 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