summarylogtreecommitdiffstats
path: root/remove-electron-sudo.patch
diff options
context:
space:
mode:
authorMatthias Lisin2019-03-23 21:32:15 +0100
committerMatthias Lisin2019-03-23 21:32:15 +0100
commit7fe62f849060e5261cc78f634a4303d2d3956534 (patch)
treed03a534901cd8ebd45ebb5f09972acd67d45c93e /remove-electron-sudo.patch
parentc2a7ed3a4f4658dc633e01788c048a521f3c7d2f (diff)
downloadaur-7fe62f849060e5261cc78f634a4303d2d3956534.tar.gz
updpkg: ubports-installer-git 0.2.1_beta.r0.*
Adjusting patches. Sadly we are forced to download the electron :( I'm sorry, this is JS.
Diffstat (limited to 'remove-electron-sudo.patch')
-rw-r--r--remove-electron-sudo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/remove-electron-sudo.patch b/remove-electron-sudo.patch
new file mode 100644
index 000000000000..925fa080493d
--- /dev/null
+++ b/remove-electron-sudo.patch
@@ -0,0 +1,11 @@
+diff -ura package.orig/src/utils.js package.new/src/utils.js
+--- package.orig/src/utils.js 2019-03-23 21:06:10.110844584 +0100
++++ package.new/src/utils.js 2019-03-23 21:06:28.024347309 +0100
+@@ -16,7 +16,6 @@
+ const tmp = require('tmp');
+ const exec = require('child_process').exec;
+ const cp = require('child_process');
+-const sudo = require('electron-sudo');
+ const winston = require('winston');
+ const getos = require('getos');
+ const commandExistsSync = require('command-exists').sync;