diff options
author | Mantas Mikulėnas | 2021-02-22 11:39:40 +0200 |
---|---|---|
committer | Mantas Mikulėnas | 2021-02-22 11:39:40 +0200 |
commit | a7445b49f38b2344d5a37f5d51eaae83d92692ef (patch) | |
tree | 74e3333fbd47d457abba3c26b5e1efefb7083f47 | |
parent | 3f6f50703dc3168f136350e4f65ef6167dbd3592 (diff) | |
download | aur-a7445b49f38b2344d5a37f5d51eaae83d92692ef.tar.gz |
only enable via presets, but not disable
Otherwise it would keep re-disabling the socket.
-rw-r--r-- | softu2f.install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/softu2f.install b/softu2f.install index 6a5df59f2d01..a93de2d04a64 100644 --- a/softu2f.install +++ b/softu2f.install @@ -3,9 +3,11 @@ post_upgrade() { } post_install() { - systemctl preset softu2f.socket + systemctl --preset-mode=enable-only preset softu2f.socket if systemctl --quiet is-enabled softu2f.socket; then systemctl start softu2f.socket + else + echo " * You need to activate 'softu2f.socket' via 'systemctl'." fi - echo " * You also need to start 'softu2f.service' via 'systemctl --user'." + echo " * You also need to activate 'softu2f.service' via 'systemctl --user'." } |