Rev 25 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 25 | Rev 35 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | || dpkg-statoverride --update --add prayer root 2750 /var/run/prayer |
25 | || dpkg-statoverride --update --add prayer root 2750 /var/run/prayer |
26 | 26 | ||
27 | dpkg-statoverride --list /var/log/prayer >/dev/null 2>&1 \ |
27 | dpkg-statoverride --list /var/log/prayer >/dev/null 2>&1 \ |
28 | || dpkg-statoverride --update --add prayer adm 2750 /var/log/prayer |
28 | || dpkg-statoverride --update --add prayer adm 2750 /var/log/prayer |
29 | 29 | ||
- | 30 | # Add prayer user to the ssl-cert group on upgrades or fresh installs |
|
- | 31 | if dpkg --compare-versions "$2" lt "1.2.2.1-1"; then |
|
- | 32 | if getent group ssl-cert >/dev/null; then |
|
- | 33 | adduser --quiet prayer ssl-cert |
|
- | 34 | fi |
|
- | 35 | fi |
|
- | 36 | ||
30 | ;; |
37 | ;; |
31 | 38 | ||
32 | abort-upgrade|abort-remove|abort-deconfigure) |
39 | abort-upgrade|abort-remove|abort-deconfigure) |
33 | 40 | ||
34 | ;; |
41 | ;; |