mirror of
https://github.com/neocities/neocities.git
synced 2025-07-20 17:46:05 +02:00
Vagrantfile and provision scripts for development
This commit is contained in:
parent
46883b2bdd
commit
9038141e28
16 changed files with 128 additions and 50 deletions
|
@ -509,7 +509,7 @@ class Site < Sequel::Model
|
|||
# clamdscan doesn't work on travis for testing
|
||||
return true if ENV['TRAVIS'] == 'true'
|
||||
|
||||
File.chmod 0640, uploaded_file[:tempfile].path
|
||||
File.chmod 0666, uploaded_file[:tempfile].path
|
||||
line = Cocaine::CommandLine.new(
|
||||
"clamdscan", "-i --remove=no --no-summary --stdout :path",
|
||||
expected_outcodes: [0, 1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue