diff options
| author | binLep <[email protected]> | 2026-06-25 17:24:08 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-06-25 17:24:08 +0800 |
| commit | d4dacf8eefac73527dc81b2b531f488d59c4dbee (patch) | |
| tree | 550e56e970a0f0d8524bc7f374da0920c29ac73e | |
| parent | c8eecb9e08362dc1cbd1686a74f23e38c7c21bc4 (diff) | |
fix(deb): set the default maintainer when packaging deb files
#7618
| -rw-r--r-- | xmake/plugins/pack/deb/main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/plugins/pack/deb/main.lua b/xmake/plugins/pack/deb/main.lua index 711ee5d4a..501af8c57 100644 --- a/xmake/plugins/pack/deb/main.lua +++ b/xmake/plugins/pack/deb/main.lua @@ -123,6 +123,8 @@ function _get_specvars(package) end specvars.PACKAGE_DATE = datestr or "" local author = package:get("author") or "unknown <[email protected]>" + local maintainer = package:get("maintainer") or author + specvars.PACKAGE_MAINTAINER = maintainer specvars.PACKAGE_COPYRIGHT = os.date("%Y") .. " " .. author specvars.PACKAGE_INSTALLCMDS = function () local prefixdir = package:get("prefixdir") |
