From 29ce5de75033eac0dedbc376bd35dd63bd2c66bd Mon Sep 17 00:00:00 2001
From: Ark74 <ark@switnet.org>
Date: Fri, 25 Nov 2022 04:36:19 -0600
Subject: [PATCH] ubuntukylin-meta: rename to kylin-desktop

---
 helpers/make-ubuntukylin-meta | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/helpers/make-ubuntukylin-meta b/helpers/make-ubuntukylin-meta
index 4b7d2ffa..8f29ae6f 100644
--- a/helpers/make-ubuntukylin-meta
+++ b/helpers/make-ubuntukylin-meta
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=1
+VERSION=2
 . ./config
 
 rm_pkg_line(){
@@ -36,6 +36,10 @@ rm_pkg_line ubuntu-standard
 rm_pkg_line ubuntu-minimal
 rm_pkg_line ubuntu-settings
 
+#Rename package and fix map.
+sed -i "/^Package:/s|ubuntukylin-desktop$|kylin-desktop|" debian/control
+sed -i "s|ubuntukylin-|kylin-|g" metapackage-map
+
 # Rebrand and tweak packages
 sed -i 's|Ubuntu|Trisquel|g' debian/control
 sed -i 's|ubuntu|trisquel|' README
-- 
GitLab