summarylogtreecommitdiffstats
path: root/texturepacker.install
blob: b791ea51fe4b9670467dc6b5dcdf6bcf2ff7f670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
	update-mime-database usr/share/mime
	update-desktop-database -q
	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
	printf "%s\n" \
		"You are required to accept the terms of the TexturePacker EULA before using the" \
		"software. The software will prompt you to accept these terms on the first" \
		"startup." \
		"You can read the terms of the license without starting TexturePacker at:" \
		"    /usr/share/licenses/texturepacker/LicenseAgreement.txt"
}

post_upgrade() {
  post_install
}

post_remove() {
    update-mime-database usr/share/mime
    update-desktop-database -q
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}