2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

we better rm on startup to work around jenkins messing it up, till I figure a cleaner way

This commit is contained in:
Sam 2013-11-20 17:31:58 +11:00
parent adf355567c
commit 37267f36a6

View file

@ -178,7 +178,8 @@ class Plugin::Instance
`mkdir -p #{target}`
target << name
# TODO a cleaner way of registering and unregistering
`ln -s #{public_data} #{target}` unless File.exists? target
`rm -f #{target}`
`ln -s #{public_data} #{target}`
end
end