summaryrefslogtreecommitdiff
path: root/libraries/qt5
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2018-11-23 11:26:34 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-24 12:35:31 +0700
commit53b556815e68eb835be0b584cc334c410625130d (patch)
treebff9a628fa37c4496130ed08d3ecd9f21adf32d9 /libraries/qt5
parent61077b45cd6a144ea134d76956fa7d0dbd8d0fe5 (diff)
downloadslackbuilds-53b556815e68eb835be0b584cc334c410625130d.tar.gz
libraries/qt5: Add -legacy check to slackbuild.
No build bump required here.
Diffstat (limited to 'libraries/qt5')
-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