~phroa/awsddns

ref: 1e7b4c9fad49a878f420443784d8260ec97b58aa awsddns/package.sh -rwxr-xr-x 264 bytes
1e7b4c9fJack Stratton Initial commit 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

set -eux

FORMAT="${1-deb}"

fpm -f -a all -s dir -t "$FORMAT" -n awsddns-bin \
  ./awsddns=/usr/local/bin/awsddns \
  ./awsddns.timer=/etc/systemd/system/awsddns.timer

fpm -f -a all -s pleaserun -t "$FORMAT" -n awsddns /usr/local/bin/awsddns