mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user