summarylogtreecommitdiffstats
path: root/1password-cli.install
blob: ab729e8aa049ce42aa85fa53544a7f58648e0bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
    if [ $(getent group onepassword-cli) ]; then
        : # no-op
    else
        groupadd onepassword-cli
    fi
    chgrp onepassword-cli /usr/bin/op
    chmod g+s /usr/bin/op
}

post_upgrade() {
    post_install
}