diff options
author | fordprefect | 2021-10-15 12:15:22 +0200 |
---|---|---|
committer | fordprefect | 2021-10-15 12:15:22 +0200 |
commit | 8aded293d1af8ae28ebc89ef2c8c11b27d74ae42 (patch) | |
tree | 61aefa5d6a0f3e968367f924ebbaa6a288da411a | |
parent | 10b99db2950be3db547fa8054c80af912ddb2a9c (diff) | |
download | aur-8aded293d1af8ae28ebc89ef2c8c11b27d74ae42.tar.gz |
fix .install
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | postsrsd.install | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -17,7 +17,7 @@ pkgbase = postsrsd source = sysusers.d-postsrsd.conf source = tmpfiles.d-postsrsd.conf md5sums = 5585ff7685ad5f0331ac6dde6304ca4b - md5sums = e8462ec9348abf296166fde0dc448974 + md5sums = 4b12fbf341433767850a571128199bad md5sums = cee1be46359eb9b6a44d1fac3cbc718b md5sums = f5f42125b253b5a6c680a628ee39a274 @@ -18,7 +18,7 @@ license=(GPL2) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/roehling/postsrsd/archive/${pkgver}.tar.gz" "${pkgname}.install" "sysusers.d-postsrsd.conf" "tmpfiles.d-postsrsd.conf") md5sums=('5585ff7685ad5f0331ac6dde6304ca4b' - 'e8462ec9348abf296166fde0dc448974' + '4b12fbf341433767850a571128199bad' 'cee1be46359eb9b6a44d1fac3cbc718b' 'f5f42125b253b5a6c680a628ee39a274') diff --git a/postsrsd.install b/postsrsd.install index 9a5f0a32c50d..8bd3e9d54564 100644 --- a/postsrsd.install +++ b/postsrsd.install @@ -1,3 +1,4 @@ post_install() { + [ -e /etc/postsrsd/postsrsd.secret ] || dd if=/dev/urandom bs=18 count=1 status=none | base64 > /etc/postsrsd/postsrsd.secret echo "Don't forget to set your domainname in /etc/postsrsd/postsrsd.conf" } |