projects
/
embrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
On installation, fix the prefix used in the script.
[embrace.git]
/
bin
/
embrace
diff --git
a/bin/embrace
b/bin/embrace
index 77e57a93100d17d7a788a7db3599c3db5d910fe2..f6616ea70480a9fa8f8c07468c8c3516aa19367c 100755
(executable)
--- a/
bin/embrace
+++ b/
bin/embrace
@@
-26,10
+26,11
@@
require "yaml"
require "embrace/imap"
PKG_NAME = "embrace"
require "embrace/imap"
PKG_NAME = "embrace"
-DATADIR = "/usr/local/share/#{PKG_NAME}/"
+PREFIX = nil
+DATADIR = "#{PREFIX || "/usr/local"}/share/#{PKG_NAME}/"
module Embrace
module Embrace
- VERSION = "0.
0.1
"
+ VERSION = "0.
1.0
"
ICON_FILE = DATADIR + "l33t_MAI_envelope.png"
class ZeroToOneAnimator < Ecore::Animator
ICON_FILE = DATADIR + "l33t_MAI_envelope.png"
class ZeroToOneAnimator < Ecore::Animator
@@
-394,9
+395,7
@@
module Embrace
private
def on_timer
private
def on_timer
- return unless @server.nil?
-
- @server = IMAP::Session.new(@config)
+ @server ||= IMAP::Session.new(@config)
true
end
true
end