You've already forked Raspberry-Pi-Proxmox-Image
All checks were successful
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Linux Sources (push) Successful in 1h32m8s
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Proxmox Image (Meta Package) (push) Successful in 40s
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Proxmox Headers (Meta Package) (push) Successful in 13s
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Proxmox Image (push) Successful in 42s
Raspberry Pi Proxmox Image (Bookworm) / Raspberry Pi Proxmox Headers (push) Successful in 22s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Linux Sources (push) Successful in 1h31m15s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Proxmox Image (Meta Package) (push) Successful in 14s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Proxmox Headers (Meta Package) (push) Successful in 14s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Proxmox Image (push) Successful in 47s
Raspberry Pi Proxmox Image (Trixie) / Raspberry Pi Proxmox Headers (push) Successful in 33s
17 lines
321 B
Bash
17 lines
321 B
Bash
#!/usr/bin/sh
|
|
|
|
set -e
|
|
set -u
|
|
|
|
VERSION=$(/usr/bin/zfs version | \
|
|
/usr/bin/grep --perl-regexp --only-matching '\d+\.\d+\.\d+' | \
|
|
/usr/bin/head --lines='1')
|
|
|
|
if [ -z "${VERSION}" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
if [ -f '/usr/lib/dkms/common.postinst' ]; then
|
|
/usr/lib/dkms/common.postinst 'zfs' "${VERSION}"
|
|
fi
|