summarylogtreecommitdiffstats
path: root/physicseditor.install
blob: 6be91e887fd4a64527c73a80f9a9d29dbc965d76 (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 PhysicsEditor 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 PhysicsEditor at:" \
		"    /usr/share/licenses/physicseditor/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
}