ensure profile

This commit is contained in:
John Bintz 2012-05-02 22:53:25 -04:00
parent 9be434c7c0
commit 13df2a8587

View File

@ -11,7 +11,6 @@ require 'daemons'
ENV['PROFILE'] ||= 'default' ENV['PROFILE'] ||= 'default'
TRANSFER_LOG = '~/unison.log' TRANSFER_LOG = '~/unison.log'
SYNC_CHECK_COUNT = 600 SYNC_CHECK_COUNT = 600
SYNC_CHECK_TIME = 0.1 SYNC_CHECK_TIME = 0.1
@ -46,7 +45,7 @@ def check
@current_icon = 'idle' @current_icon = 'idle'
end end
system %{bash -c 'unison -batch default'} system %{bash -c 'unison -batch #{ENV['PROFILE']}'}
animation[:done] = true animation[:done] = true