diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-02-01 13:26:18 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-02-01 13:26:18 -0200 |
commit | 3ab4ff0273a4c345fdbc3903082d9de0fdd2f198 (patch) | |
tree | b449eb0e6dabc0a9a7e2297b808949f5cd5dd343 /pcr/timekpr/timekpr.install | |
parent | a6be0c225a6cbf09e33bf1bac9c326ded7b42f9f (diff) |
moving timekpr to [pcr] repo
Diffstat (limited to 'pcr/timekpr/timekpr.install')
-rw-r--r-- | pcr/timekpr/timekpr.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/timekpr/timekpr.install b/pcr/timekpr/timekpr.install new file mode 100644 index 000000000..b01769c48 --- /dev/null +++ b/pcr/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." +} |