libraries/qt5: Add -legacy check to slackbuild.

No build bump required here.
This commit is contained in:
David Woodfall 2018-11-23 11:26:34 +00:00 committed by Willy Sudiarto Raharjo
parent 61077b45cd
commit 53b556815e
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with 7 additions and 0 deletions

View File

@ -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