diff options
author | J Blackman <blckmn@users.noreply.github.com> | 2022-05-28 05:10:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-28 05:10:10 +0300 |
commit | 7276ae7d4b0f7a34ba70a18f56e7b4b291780aa6 (patch) | |
tree | 5196f9e658c25608ffb1b01bfdeff34319a5cc13 | |
parent | 709b1fd618c11e7781a77b8ba5aa98e813785938 (diff) | |
parent | a414f6e512221a07183ee10aff089fdf09817b84 (diff) |
Merge pull request #2934 from McGiverGim/depends_liabtomic1
-rw-r--r-- | gulpfile.js | 8 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | yarn.lock | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/gulpfile.js b/gulpfile.js index c094db34..95032523 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -710,6 +710,7 @@ function release_deb(arch, appDirectory, done) { if (!commandExistsSync('dpkg-deb')) { console.warn(`dpkg-deb command not found, not generating deb package for ${arch}`); done(); + return null; } return gulp.src([path.join(appDirectory, metadata.name, arch, '*')]) @@ -728,7 +729,7 @@ function release_deb(arch, appDirectory, done) { `xdg-desktop-menu install ${LINUX_INSTALL_DIR}/${metadata.name}/${metadata.name}.desktop`, ], prerm: [`xdg-desktop-menu uninstall ${metadata.name}.desktop`], - depends: 'libgconf-2-4', + depends: ['libgconf-2-4', 'libatomic1'], changelog: [], _target: `${LINUX_INSTALL_DIR}/${metadata.name}`, _out: RELEASE_DIR, @@ -739,10 +740,11 @@ function release_deb(arch, appDirectory, done) { function release_rpm(arch, appDirectory, done) { - // Check if dpkg-deb exists + // Check if rpmbuild exists if (!commandExistsSync('rpmbuild')) { console.warn(`rpmbuild command not found, not generating rpm package for ${arch}`); done(); + return; } // The buildRpm does not generate the folder correctly, manually @@ -755,7 +757,7 @@ function release_rpm(arch, appDirectory, done) { vendor: metadata.author, summary: metadata.description, license: 'GNU General Public License v3.0', - requires: 'libgconf-2-4', + requires: ['libgconf-2-4', 'libatomic1'], prefix: '/opt', files: [{ cwd: path.join(appDirectory, metadata.name, arch), diff --git a/package.json b/package.json index 479f1a40..3df805e4 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "glob": "^7.1.6", "gulp": "^4.0.2", "gulp-concat": "~2.6.1", - "gulp-debian": "~0.1.8", + "gulp-debian": "^0.1.9", "gulp-json-editor": "^2.5.4", "gulp-prompt": "^1.2.0", "gulp-rename": "^2.0.0", @@ -7845,7 +7845,7 @@ gulp-concat@~2.6.1: through2 "^2.0.0" vinyl "^2.0.0" -gulp-debian@~0.1.8: +gulp-debian@^0.1.9: version "0.1.9" resolved "https://registry.yarnpkg.com/gulp-debian/-/gulp-debian-0.1.9.tgz#80e4a8cfc0f0904312f07e66a06ca3c024edc153" integrity sha512-hY16Lj5IdxY213L9Sl6SlEgpCvf8/ny3SQ4S9dyG8MHqRx0fPpui5CRodhQK5lA2oScxP8qi4wfK4fIDr5xF3g== |