2019-06-22 15:00:22 +00:00
#!/bin/bash
cd " $( dirname " ${ BASH_SOURCE [0] } " ) "
2019-09-01 12:50:58 +00:00
fpm -s dir -t deb --force \
2019-06-22 15:00:22 +00:00
-n pve-fake-subscription \
2021-06-24 16:00:36 +00:00
--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" \
2019-09-28 06:20:22 +00:00
-v 0.0.5 \
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" \
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" \