summarylogtreecommitdiffstats
path: root/track-o-bot.install
blob: f464f8bd7ce84c7f39235c32c5f5362284b1d687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh

hsnote() {
	echo ""
	echo "FURTHER CONFIGURATION IS NEEDED!"
	echo "Create folder named .Hearthstone in your home directory."
	echo "Create symlinks of the Hearthstone's output_log and log.config"
	echo "in the newly created folder."
	echo ""
	echo "You may also need to manually enable Hearthstone logging."
	echo "More information here:"
	echo "https://www.reddit.com/r/hearthstone/comments/268fkk/simple_hearthstone_logging_see_your_complete_play"
	echo ""
	echo "Don't forget to make sure that the logging actually works"
	echo "before proceeding."
	echo ""
}

upd() {
	gtk-update-icon-cache
	update-desktop-database -q
	update-mime-database usr/share/mime
}

post_install() {
	upd
	hsnote
}

post_upgrade() {
	upd
}

post_remove () {
	upd
}