mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
we better rm on startup to work around jenkins messing it up, till I figure a cleaner way
This commit is contained in:
parent
adf355567c
commit
37267f36a6
@ -178,7 +178,8 @@ class Plugin::Instance
|
|||||||
`mkdir -p #{target}`
|
`mkdir -p #{target}`
|
||||||
target << name
|
target << name
|
||||||
# TODO a cleaner way of registering and unregistering
|
# 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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user