mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
fca7cc57ad
Cantata wants to check if perl is available at runtime, but we already patch the script shebangs, making it unnecessary to be available at runtime -- thus, patch out this check.
18 lines
582 B
Diff
18 lines
582 B
Diff
diff --git a/playlists/dynamicplaylists.cpp b/playlists/dynamicplaylists.cpp
|
|
index 07b6dce3..6a3f97c9 100644
|
|
--- a/playlists/dynamicplaylists.cpp
|
|
+++ b/playlists/dynamicplaylists.cpp
|
|
@@ -211,11 +211,6 @@ void DynamicPlaylists::start(const QString &name)
|
|
return;
|
|
}
|
|
|
|
- if (Utils::findExe("perl").isEmpty()) {
|
|
- emit error(tr("You need to install \"perl\" on your system in order for Cantata's dynamic mode to function."));
|
|
- return;
|
|
- }
|
|
-
|
|
QString fName(Utils::dataDir(rulesDir, false)+name+constExtension);
|
|
|
|
if (!QFile::exists(fName)) {
|
|
|