fix: Make it work with the latest cockpit release

Uses suggestion in https://github.com/Xantios/cockpit-docker/issues/29#issuecomment-2209328348
This commit is contained in:
Sayantan Santra 2024-08-08 02:21:57 -05:00
parent 55aa6c6226
commit 49d9f6c014
Signed by: SinTan1729
GPG Key ID: EB3E68BFBA25C85F
1 changed files with 2 additions and 1 deletions

View File

@ -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/"
}