From 49d9f6c01464848ad3d859efaaf3899ca58c8e6c Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Thu, 8 Aug 2024 02:21:57 -0500 Subject: [PATCH] fix: Make it work with the latest cockpit release Uses suggestion in https://github.com/Xantios/cockpit-docker/issues/29#issuecomment-2209328348 --- cockpit-docker-fork/lure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cockpit-docker-fork/lure.sh b/cockpit-docker-fork/lure.sh index 4c40b9a..ed03054 100644 --- a/cockpit-docker-fork/lure.sh +++ b/cockpit-docker-fork/lure.sh @@ -1,7 +1,7 @@ name='cockpit-docker-fork' _name='cockpit-docker' version=VERSION -release=1 +release=2 desc='Manage your docker containers from Cockpit' homepage='https://github.com/mrevjd/cockpit-docker' architectures=('all') @@ -28,5 +28,6 @@ package() { tar -xf ${name}.tar.gz -C . # Binary mkdir -p "${pkgdir}/usr/share/cockpit" + sed -i 's/v1\.12/v1\.24/g' docker/docker.js mv docker "${pkgdir}/usr/share/cockpit/" }