diff options
author | Daniel Peukert | 2020-01-14 17:17:09 +0100 |
---|---|---|
committer | Daniel Peukert | 2020-01-14 17:17:09 +0100 |
commit | d9354bbd2c456f170af810084ce436029d6927ac (patch) | |
tree | 6b6b33dc0ea08a06f1dc8fd0c6872a0b63f2e5e8 /mailpile.install | |
parent | 865fd6e4f611684af1e2a35e61be1f64b6e73811 (diff) | |
download | aur-d9354bbd2c456f170af810084ce436029d6927ac.tar.gz |
Added mailpile
Diffstat (limited to 'mailpile.install')
-rw-r--r-- | mailpile.install | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/mailpile.install b/mailpile.install deleted file mode 100644 index fbfbd5a709ca..000000000000 --- a/mailpile.install +++ /dev/null @@ -1,34 +0,0 @@ -post_install() { - post_upgrade $1 - - echo "" - echo "==> Note: Mailpile is still in development and not" - echo "==> suitable for production or end-user use." - echo "" - echo "==> Get more info at:" - echo "==> https://github.com/pagekite/Mailpile/wiki/Getting-started" - echo "" -} - -# arg 2: the old package version -post_upgrade() { - if ! getent group mailpile >/dev/null; then - groupadd --system mailpile - fi - - if ! getent passwd mailpile >/dev/null; then - useradd --system -c 'mailpile daemon user' -g mailpile -b /var/lib -m -s /bin/bash mailpile >/dev/null 2>&1 - elif ! test -d /var/lib/mailpile; then - mkhomedir_helper mailpile - fi - - if test $2 && test "`vercmp $2 0.4.1-1`" -lt 0; then - echo '==> Mailpile home directory has moved to /var/lib/mailpile' - fi -} - -post_remove() { - systemctl stop mailpile >/dev/null 2>&1 - - echo "==> Note: /var/lib/mailpile may still contain data" -} |