diff --git a/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD b/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD index 123ef247a..6e8d65267 100644 --- a/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD +++ b/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD @@ -28,8 +28,8 @@ build() { # Do we need this? msg "Setting PATH, CMAKE and Trinity Environment variables" - # This should be done on system startup, neverthless, do it to be sure. - . /etc/profile.d/qt3.sh + # Source the QT and KDE profile + [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh cd $srcdir msg "Creating out-of-source build directory: ${srcdir}/build"