dput-ng: fix eval (#364540)
[NixPkgs.git] / pkgs / by-name / ca / cantata / dont-check-for-perl-in-PATH.diff
blobeffb0f3b502cf3ddeb106532046ffa028e219984
1 diff --git a/playlists/dynamicplaylists.cpp b/playlists/dynamicplaylists.cpp
2 index 07b6dce3..6a3f97c9 100644
3 --- a/playlists/dynamicplaylists.cpp
4 +++ b/playlists/dynamicplaylists.cpp
5 @@ -211,11 +211,6 @@ void DynamicPlaylists::start(const QString &name)
6 return;
9 - if (Utils::findExe("perl").isEmpty()) {
10 - emit error(tr("You need to install \"perl\" on your system in order for Cantata's dynamic mode to function."));
11 - return;
12 - }
14 QString fName(Utils::dataDir(rulesDir, false)+name+constExtension);
16 if (!QFile::exists(fName)) {