summarylogtreecommitdiffstats
path: root/p7zip-gui.install
blob: 949e950cb913f96c8f25fcccc8ffc3f7fcea7a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
	printf ">>> WARNING\n"
	printf ">>> This software is dead. Works, but no new features will be added\n"
	printf ">>> or no bugs will be repaired, and will detioriate over time.\n"
	printf ">>> Start looking for alternatives.\n"
	[[ -x usr/bin/kbuildsycoca5 ]] && kbuildsycoca5 &> /dev/null || true
	[[ -x usr/bin/kbuildsycoca6 ]] && kbuildsycoca6 &> /dev/null || true
}

post_upgrade() {
	post_install
	[[ -x usr/bin/kbuildsycoca5 ]] && kbuildsycoca5 &> /dev/null || true
	[[ -x usr/bin/kbuildsycoca6 ]] && kbuildsycoca6 &> /dev/null || true
}


post_remove() {
	[[ -x usr/bin/kbuildsycoca5 ]] && kbuildsycoca5 &> /dev/null || true
	[[ -x usr/bin/kbuildsycoca6 ]] && kbuildsycoca6 &> /dev/null || true
}