summarylogtreecommitdiffstats
path: root/open-hexagon-git.install
blob: dbba7087742500709cd668aec28e7f37f705d33b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
_create_files() {
	# Ensure that these files exist and are owned by root, but the package should not own them.
	cd /var/lib/open-hexagon/
	touch log.txt
	chmod a+w log.txt
	touch config.json
	chmod a+w config.json
	touch scores.json
	chmod a+w scores.json
	touch users.json
	chmod a+w users.json
}
post_upgrade() {
	_create_files
}
post_install() {
	_create_files
}