1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 05:12:40 +03:00

Remove Source entry in Debian control file (#2828)

Remove `Source` entry in final Debian control file
This commit is contained in:
cgrigis 2022-12-04 16:53:37 +01:00 committed by GitHub
parent 8d8d7d3ff4
commit fcace3d5e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,6 +237,7 @@ EOF
mv pkg/debian/prerm pkg/debian/DEBIAN/prerm
chmod 0755 pkg/debian/DEBIAN/prerm
mv pkg/debian/control pkg/debian/DEBIAN/control
sed -i '/^Source:/d' pkg/debian/DEBIAN/control # The `Source:` field needs to be valid in a binary package
echo $deps | sed -e 's/shlibs:Depends=/Depends: /' >> pkg/debian/DEBIAN/control
cat pkg/debian/DEBIAN/control