summarylogtreecommitdiffstats
path: root/sway-git.install
blob: 36753ddb13824e5a50b97fea3aa6f77140c6d09f (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
}