Commit c31155ff authored by Leo Iannacone's avatar Leo Iannacone

use utils get_distribution_path

parent 74d19ba8
......@@ -128,9 +128,7 @@ Client = (socket) ->
# init events
socket.on _e.distribution_packages, (data) ->
return unless utils.check_data_distribution(data)
distribution_path = path.join(config.debomatic.path,
data.distribution.name,
"pool")
distribution_path = utils.get_distribution_pool_path(data)
utils.generic_handler_watcher(_e.distribution_packages,
socket,
data,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment