mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-26 06:48:35 -06:00
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:
parent
55aa6c6226
commit
49d9f6c014
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
name='cockpit-docker-fork'
|
name='cockpit-docker-fork'
|
||||||
_name='cockpit-docker'
|
_name='cockpit-docker'
|
||||||
version=VERSION
|
version=VERSION
|
||||||
release=1
|
release=2
|
||||||
desc='Manage your docker containers from Cockpit'
|
desc='Manage your docker containers from Cockpit'
|
||||||
homepage='https://github.com/mrevjd/cockpit-docker'
|
homepage='https://github.com/mrevjd/cockpit-docker'
|
||||||
architectures=('all')
|
architectures=('all')
|
||||||
|
@ -28,5 +28,6 @@ package() {
|
||||||
tar -xf ${name}.tar.gz -C .
|
tar -xf ${name}.tar.gz -C .
|
||||||
# Binary
|
# Binary
|
||||||
mkdir -p "${pkgdir}/usr/share/cockpit"
|
mkdir -p "${pkgdir}/usr/share/cockpit"
|
||||||
|
sed -i 's/v1\.12/v1\.24/g' docker/docker.js
|
||||||
mv docker "${pkgdir}/usr/share/cockpit/"
|
mv docker "${pkgdir}/usr/share/cockpit/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue