pve-fake-subscription/package.sh

22 lines
855 B
Bash
Raw Normal View History

2019-06-22 15:00:22 +00:00
#!/bin/bash
2022-09-16 01:11:36 +00:00
set -Eeuo pipefail
cd "$( dirname "${BASH_SOURCE[0]}" )" || exit 1
2019-06-22 15:00:22 +00:00
fpm -s dir -t deb --force \
2019-06-22 15:00:22 +00:00
-n pve-fake-subscription \
--description "Pollute the subscription cache of Proxmox VE (>=5.0), Proxmox Mail Gateway (>=5.0) & Proxmox Backup Server (>=1.0) so it won't alert you on dashboard login" \
2019-06-22 15:22:10 +00:00
--url "https://github.com/Jamesits/pve-fake-subscription" \
2022-09-16 01:11:36 +00:00
-v 0.0.8 \
2019-06-22 15:00:22 +00:00
--license "GLWTS(Good Luck With That Shit) Public License" \
--depends "python3" \
--architecture all \
--deb-dist "unstable" \
--deb-priority "optional" \
--deb-systemd "usr/lib/systemd/system/pve-fake-subscription.timer" \
--deb-systemd-enable --deb-systemd-auto-start --deb-systemd-restart-after-upgrade \
2019-09-01 13:16:32 +00:00
--after-remove "scripts/purge" \
2019-06-22 15:00:22 +00:00
./usr
2019-09-01 13:16:32 +00:00
# temporary removed as of https://github.com/jordansissel/fpm/issues/1472
#--deb-after-purge "scripts/purge" \