]> piware.de Git - bin.git/blobdiff - ubuntu-backport-cockpit
ubuntu-backport-cockpit: Default to noble, add oracular
[bin.git] / ubuntu-backport-cockpit
index a8cf5f491e28ed81cd6d84fd171e065419260f2a..36b281ec46efff3b5a052a9a01871f995a0ab028 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -eu
 PACKAGE=${1:-cockpit}
-TARGET=${2:-jammy}
+TARGET=${2:-noble}
 POCKET="${TARGET}-backports"
 
 series_ver() {
@@ -25,17 +25,15 @@ upload() {
     rm -r ${PACKAGE}-*
 }
 
+rm -rf /tmp/backport
 mkdir /tmp/backport
 cd  /tmp/backport
 apt-get source $PACKAGE
 cd ${PACKAGE}-*
 
 case "$TARGET" in
-    lunar) VER=23.04 ;;
-    kinetic) VER=22.10 ;;
-    jammy) VER=22.04 ;;
-    impish) VER=21.10 ;;
-    focal) VER=20.04 ;;
+    oracular) VER=24.10 ;;
+    noble) VER=24.04 ;;
     *) echo "Unknown target $TARGET" >&2; exit 1 ;;
 esac