summarylogtreecommitdiffstats
path: root/sway.install
blob: 33d3766d7393e5833fa62f3399c2773ba4ed88cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
upgrade_wlroots_message() {
	cat <<END

Please make sure your wlroots-git is up-to-date before compiling sway-git.

END
}

pre_install() {
	upgrade_wlroots_message
}

pre_upgrade() {
	upgrade_wlroots_message
}

post_install() {
	post_upgrade
}

post_upgrade() {
	setcap cap_sys_nice+ep usr/bin/sway
}