aboutsummaryrefslogblamecommitdiffstats
path: root/community/swaylock/swaylock.post-install
blob: 1f632cb3ec5f20f9578d9ef8219fb4ec7f7d598b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                         
#!/bin/sh

[ $# -ge 2 ] && [ "$(apk version -t "$2" '1.5-r7')" = '>' ] && exit 0

cat >&2 <<EOF
*
* It's highly recommended to *not* run swaylock directly, but via some
* supervisor that restarts it upon crash. You can use a real supervisor,
* such as s6-supervise, or a tiny launcher swaylockd (apk add swaylockd).
*
EOF

exit 0