[snappymail] Some build fixes

Not an expert on the snappy build system, but rollup doesn't seem to be
used anywhere, so no need to check for its presence. Also, I had
to replace "node-fs" with "fs" to build a .tar.gz.
This commit is contained in:
David Härdeman 2021-08-23 00:42:21 +02:00
parent 05af650a29
commit fc83b71a30
2 changed files with 3 additions and 1 deletions

View file

@ -85,10 +85,12 @@ if (!$gulp) {
exit('gulp not installed, run as root: npm install --global gulp-cli'); exit('gulp not installed, run as root: npm install --global gulp-cli');
} }
/*
$rollup = trim(`which rollup`); $rollup = trim(`which rollup`);
if (!$rollup) { if (!$rollup) {
exit('rollup not installed, run as root: npm install --global rollup'); exit('rollup not installed, run as root: npm install --global rollup');
} }
*/
// Arch User Repository // Arch User Repository
// https://aur.archlinux.org/packages/snappymail/ // https://aur.archlinux.org/packages/snappymail/

View file

@ -1,7 +1,7 @@
/* RainLoop Webmail (c) RainLoop Team | Licensed under AGPL 3 */ /* RainLoop Webmail (c) RainLoop Team | Licensed under AGPL 3 */
const gulp = require('gulp'); const gulp = require('gulp');
const del = require('del'); const del = require('del');
const fs = require('node-fs'); const fs = require('fs');
const { config } = require('./config'); const { config } = require('./config');