Debian packaging improvements

- Build binary on "any" architecture
- Binary depends on adduser
- Improve postinst script

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
This commit is contained in:
Tormod Volden 2020-04-25 18:27:50 +02:00
parent c5df1da786
commit cda46a7579
2 changed files with 11 additions and 3 deletions

View file

@ -17,10 +17,11 @@ Vcs-Git: git://github.com/corrados/jamulus.git
Vcs-Browser: https://github.com/corrados/jamulus Vcs-Browser: https://github.com/corrados/jamulus
Package: jamulus Package: jamulus
Architecture: i386 amd64 armhf Architecture: any
Depends: Depends:
${shlibs:Depends}, ${shlibs:Depends},
${misc:Depends}, ${misc:Depends},
adduser,
jackd, jackd,
qt5-default, qt5-default,
qtchooser, qtchooser,

View file

@ -1,2 +1,9 @@
#!/bin/bash #!/bin/sh
adduser --system jamulus
set -e
# dh_sysuser can be used in newer distro releases
adduser --system --quiet jamulus
#DEBHELPER#