mirror of
https://github.com/unpoller/unpoller.git
synced 2026-10-21 10:16:07 +02:00
add comments
This commit is contained in:
@@ -22,6 +22,9 @@ class UnifiPoller < Formula
|
||||
cd bin_path do
|
||||
system "dep", "ensure"
|
||||
system "make", "install", "VERSION=#{version}", "PREFIX=#{prefix}", "ETC=#{etc}"
|
||||
# If this fails, the user gets a nice big warning about write permissions on their
|
||||
# [/usr/local/]var/log folder. The alternative could be letting the app silently
|
||||
# fail to start when it cannot write logs. This is better. Fix perms; reinstall.
|
||||
system "mkdir", "-p", "#{var}/log/unifi-poller"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user