[arch-projects] [devtools] [PATCH 1/1] crossrepomove: support core2community and community2core

Christian Hesse list at eworm.de
Fri Jul 15 13:55:08 UTC 2016


From: Christian Hesse <mail at eworm.de>

Signed-off-by: Christian Hesse <mail at eworm.de>
---
 Makefile         |  2 ++
 crossrepomove.in | 12 ++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/Makefile b/Makefile
index d93fefd..1595776 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,9 @@ ARCHBUILD_LINKS = \
 	gnome-unstable-x86_64-build
 
 CROSSREPOMOVE_LINKS = \
+	core2community \
 	extra2community \
+	community2core \
 	community2extra
 
 BASHCOMPLETION_LINKS = \
diff --git a/crossrepomove.in b/crossrepomove.in
index d0964e3..67964a7 100644
--- a/crossrepomove.in
+++ b/crossrepomove.in
@@ -12,12 +12,24 @@ fi
 pkgbase="${1}"
 
 case $scriptname in
+	core2community)
+		source_name='packages'
+		target_name='community'
+		source_repo='core'
+		target_repo='community'
+		;;
 	extra2community)
 		source_name='packages'
 		target_name='community'
 		source_repo='extra'
 		target_repo='community'
 		;;
+	community2core)
+		source_name='community'
+		target_name='packages'
+		source_repo='community'
+		target_repo='core'
+		;;
 	community2extra)
 		source_name='community'
 		target_name='packages'
-- 
2.9.0


More information about the arch-projects mailing list