diff --git a/.gitignore b/.gitignore index 6fe769f..86f2c42 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +/sites +build.xbs +xbs.rb +/output-gmi /proc /themes /input diff --git a/init.sh b/init.sh index 25e201e..7423d34 100644 --- a/init.sh +++ b/init.sh @@ -31,4 +31,30 @@ echo $theme | tee -a input/site.conf echo "All done!" echo "If you haven't already read the docs at ewfm.colean.cc/docs" echo "and run populate.sh to download all the ewfm themes!" + +echo ".jpeg" | tee -a input/inclusions.conf +echo ".jpg" | tee -a input/inclusions.conf +echo ".gif" | tee -a input/inclusions.conf +echo ".png" | tee -a input/inclusions.conf +echo ".bmp" | tee -a input/inclusions.conf +echo ".webp" | tee -a input/inclusions.conf +echo ".webm" | tee -a input/inclusions.conf +echo ".txt" | tee -a input/inclusions.conf +echo ".rtf" | tee -a input/inclusions.conf +echo ".doc" | tee -a input/inclusions.conf +echo ".xls" | tee -a input/inclusions.conf +echo ".docx" | tee -a input/inclusions.conf +echo ".xlsx" | tee -a input/inclusions.conf +echo ".zip" | tee -a input/inclusions.conf +echo ".tar" | tee -a input/inclusions.conf +echo ".gz" | tee -a input/inclusions.conf +echo ".tgz" | tee -a input/inclusions.conf +echo ".txz" | tee -a input/inclusions.conf +echo ".lzma" | tee -a input/inclusions.conf +echo ".xz" | tee -a input/inclusions.conf +echo ".bz2" | tee -a input/inclusions.conf +echo ".bzip2" | tee -a input/inclusions.conf +echo ".tbz" | tee -a input/inclusions.conf +echo ".tbz2" | tee -a input/inclusions.conf + mkdir output diff --git a/main.rb b/main.rb index c7e83c4..1bdf36d 100644 --- a/main.rb +++ b/main.rb @@ -213,10 +213,8 @@ if(File.exist?('input/postproc.conf')) list = IO.readlines("input/postproc.conf", chomp: true) for proc in list if(File.exist?('proc/' + proc +'/post.sh')) - for file in procfiles - runner = `proc/#{proc}/post.sh #{file}` - puts runner - end + runner = `proc/#{proc}/post.sh` + puts runner else puts proc +" does not support being used as a post-processor." end