mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:11:20 +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}`
|
`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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user