summaryrefslogtreecommitdiff
path: root/~emulatorman/timekpr/timekpr.install
blob: b01769c48746fd68ea7549781c87982fd607246a (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

post_install() {
	/usr/bin/timekpr.postinst

	echo "Your su command (gksu|gksudo|kdesu|kdesudo etc) for starting timekpr-gui as root: "
	read su_command;
	sed -i "s/gksu/${su_command}/" "/usr/share/applications/timekpr.desktop"

	echo
	echo "Start the timekpr daemon with '/etc/rc.d/timekprd start'"
	echo "For permanent use put 'timekprd' into your DAEMONS array."
}

post_upgrade() {
	post_install
}

pre_remove() {
	/usr/bin/timekpr.postrm purge
}

post_remove() {
	echo "Remove the timekprd entry from your DAEMONS array."
}