diff options
author | David Woodfall <dave@dawoodfall.net> | 2018-11-23 11:26:34 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-24 12:35:31 +0700 |
commit | 53b556815e68eb835be0b584cc334c410625130d (patch) | |
tree | bff9a628fa37c4496130ed08d3ecd9f21adf32d9 /libraries | |
parent | 61077b45cd6a144ea134d76956fa7d0dbd8d0fe5 (diff) | |
download | slackbuilds-53b556815e68eb835be0b584cc334c410625130d.tar.gz |
libraries/qt5: Add -legacy check to slackbuild.
No build bump required here.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/qt5/qt5.SlackBuild | 7 |
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 |