diff options
author | root <root@rshg054.dnsready.net> | 2012-05-31 16:24:59 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-31 16:24:59 +0000 |
commit | f5a8de28b86c2c838a28e79aa54f8b4c3fbd869e (patch) | |
tree | 26873b23c15ea28962e55ab4dc7ae94b468089cf /~emulatorman/timekpr/timekpr.install | |
parent | f1ae949e08a764ac063703dc9bb7f0afd7c16e96 (diff) |
Thu May 31 16:24:59 UTC 2012
Diffstat (limited to '~emulatorman/timekpr/timekpr.install')
-rw-r--r-- | ~emulatorman/timekpr/timekpr.install | 24 |
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." +} |