{epgstation,mirakurun}: fix the update script
- The update scripts based on generic-updater now returns an attribute set instead of just the command to update the package
This commit is contained in:
parent
1072e203b3
commit
5c9e6f0134
2 changed files with 4 additions and 4 deletions
|
@ -14,8 +14,8 @@ let
|
|||
attrPath = lib.toLower pname;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
updateScript = builtins.elemAt updater 0;
|
||||
updateArgs = map (lib.escapeShellArg) (builtins.tail updater);
|
||||
updateScript = builtins.elemAt updater.command 0;
|
||||
updateArgs = map (lib.escapeShellArg) (builtins.tail updater.command);
|
||||
in writers.writeBash "update-epgstation" ''
|
||||
set -euxo pipefail
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ let
|
|||
# exclude prerelease versions
|
||||
ignoredVersions = "-";
|
||||
};
|
||||
updateScript = builtins.elemAt updater 0;
|
||||
updateArgs = map (lib.escapeShellArg) (builtins.tail updater);
|
||||
updateScript = builtins.elemAt updater.command 0;
|
||||
updateArgs = map (lib.escapeShellArg) (builtins.tail updater.command);
|
||||
in writers.writeBash "update-mirakurun" ''
|
||||
set -euxo pipefail
|
||||
|
||||
|
|
Loading…
Reference in a new issue