From 430b798dd91d17cdd6e96c41414eebade3c02c4a Mon Sep 17 00:00:00 2001 From: wcbing Date: Wed, 22 Jan 2025 21:32:23 +0800 Subject: [PATCH] migrate to deb822 format --- DEBIAN/control | 2 +- DEBIAN/postinst | 3 ++- etc/apt/sources.list.d/wcbing.list | 1 - etc/apt/sources.list.d/wcbing.sources | 17 +++++++++++++++++ 4 files changed, 20 insertions(+), 3 deletions(-) delete mode 100644 etc/apt/sources.list.d/wcbing.list create mode 100644 etc/apt/sources.list.d/wcbing.sources diff --git a/DEBIAN/control b/DEBIAN/control index 2f1d396..425041c 100644 --- a/DEBIAN/control +++ b/DEBIAN/control @@ -1,5 +1,5 @@ Package: wcbing-keyring -Version: 2.0.0 +Version: 3.0.0 Section: utils Priority: optional Architecture: all diff --git a/DEBIAN/postinst b/DEBIAN/postinst index 7cb84c1..1d72628 100755 --- a/DEBIAN/postinst +++ b/DEBIAN/postinst @@ -1,3 +1,4 @@ #!/bin/sh -rm -f /etc/apt/keyrings/wcbing.gpg \ No newline at end of file +rm -f /etc/apt/sources.list.d/wcbing.list +rm -f /etc/apt/keyrings/wcbing.gpg diff --git a/etc/apt/sources.list.d/wcbing.list b/etc/apt/sources.list.d/wcbing.list deleted file mode 100644 index 4feafb2..0000000 --- a/etc/apt/sources.list.d/wcbing.list +++ /dev/null @@ -1 +0,0 @@ -deb [trusted=yes] https://packages.wcbing.top/deb/$(ARCH)/ / \ No newline at end of file diff --git a/etc/apt/sources.list.d/wcbing.sources b/etc/apt/sources.list.d/wcbing.sources new file mode 100644 index 0000000..520f3a6 --- /dev/null +++ b/etc/apt/sources.list.d/wcbing.sources @@ -0,0 +1,17 @@ +Types: deb +URIs: https://packages.wcbing.top/deb/$(ARCH)/ +Suites: / +Signed-By: + -----BEGIN PGP PUBLIC KEY BLOCK----- + . + mDMEZqEmIxYJKwYBBAHaRw8BAQdAb3OvpKmsYtS3WBIz8GdS1TO6YgD2IuNcWGZu + YuR3uU20FXdjYmluZyA8aUB3Y2JpbmcudG9wPoiTBBMWCgA7AhsDBQsJCAcCAiIC + BhUKCQgLAgQWAgMBAh4HAheAFiEEHRei1xNvFmQQGtkXJiZVFo+zu6AFAmeRTlwA + CgkQJiZVFo+zu6D2rgD/YNUyByUir6QZ7gszdL4gAI+iO3pG0ENaNC1T5uTa5hEB + AP0+rqCx74ZLh8fwbVsxeU+yAfTTD1Aw4WbqtvE8uO8NuDgEZqEmIxIKKwYBBAGX + VQEFAQEHQI5rbm+T72MiH3nHGRd8HZw2sHGFFurYIdbGq36GRbttAwEIB4h4BBgW + CgAgAhsMFiEEHRei1xNvFmQQGtkXJiZVFo+zu6AFAmeRTw4ACgkQJiZVFo+zu6D6 + nwEApGVKLs8TzittX+yKKCKObcaBaXb4GjyyIi0QEzwW704A/0wRm+/W4poIZU7I + SM5NncjbTIxHZ+s27b8CqZcpajYJ + =QD/L + -----END PGP PUBLIC KEY BLOCK-----