summaryrefslogtreecommitdiff
path: root/~emulatorman/timekpr/timekpr.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-30 16:38:01 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-30 16:38:01 -0300
commit4b53261a4d2c1090d7e8cf7c9b804d82953f82dc (patch)
tree6903933458383344799577445bd72e3907400d0f /~emulatorman/timekpr/timekpr.install
parenta1e50fec714d1caf43a82d39ef0e29ccf9e0f4d2 (diff)
timekpr-0.3.2-8: new package for ~emulatorman and social repo
Diffstat (limited to '~emulatorman/timekpr/timekpr.install')
-rw-r--r--~emulatorman/timekpr/timekpr.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/~emulatorman/timekpr/timekpr.install b/~emulatorman/timekpr/timekpr.install
new file mode 100644
index 000000000..b01769c48
--- /dev/null
+++ b/~emulatorman/timekpr/timekpr.install
@@ -0,0 +1,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."
+}