-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_fpm.sh
More file actions
executable file
·36 lines (33 loc) · 831 Bytes
/
run_fpm.sh
File metadata and controls
executable file
·36 lines (33 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
set -x
set -e
package_version=`cat VERSION`
rm -f *.deb
fpm -t deb \
-s dir \
--architecture all \
--version ${package_version} \
--before-install pre-install.sh \
--after-install post-install.sh \
--maintainer 'Jenkins Blahblah <blahblah@domain.com>' \
--deb-user root \
--deb-group root \
--description 'encryptonator' \
--verbose \
-C . \
-x pre-install.sh \
-x post-install.sh \
-x README.md \
-x run_fpm.sh \
-x VERSION \
-x .git \
-x *.deb \
--deb-pre-depends python-pika \
--deb-pre-depends python-rsa \
--deb-pre-depends python-crypto \
--deb-pre-depends python-paramiko \
--deb-pre-depends python-gnupg \
--deb-pre-depends python-cherrypy3 \
--deb-pre-depends python-ldap \
--name encryptonator \
.