debian/patches: add a patch to fix the pastebin path in upload-system-info
Thanks: Thomas Uhle
Fabio Fantoni
1 year, 5 months ago
1 | 1 |
|
2 | 2 |
* d/control: remove gist from xapps-common recommends and add
|
3 | 3 |
netcat-openbsd. Thanks to Thomas Uhle (Closes: #1023151)
|
|
4 |
* debian/patches: add a patch to fix the pastebin path in
|
|
5 |
upload-system-info. Thanks to Thomas Uhle
|
4 | 6 |
|
5 | 7 |
-- Fabio Fantoni <fantonifabio@tiscali.it> Tue, 01 Nov 2022 09:53:56 +0100
|
6 | 8 |
|
|
0 |
Description: Change the pastebin path in upload-system-info
|
|
1 |
Author: Fabio Fantoni <fantonifabio@tiscali.it>
|
|
2 |
|
|
3 |
Forwarded: not-needed
|
|
4 |
Last-Update: 2022-11-01
|
|
5 |
---
|
|
6 |
--- a/scripts/upload-system-info
|
|
7 |
+++ b/scripts/upload-system-info
|
|
8 |
@@ -4,7 +4,7 @@
|
|
9 |
|
|
10 |
try:
|
|
11 |
inxi = subprocess.Popen(['inxi', '-Fxxrzc0'], stdout=subprocess.PIPE)
|
|
12 |
- pastebin = subprocess.Popen(['/usr/bin/pastebin'], stdin=inxi.stdout, stdout=subprocess.PIPE)
|
|
13 |
+ pastebin = subprocess.Popen(['/usr/share/xapps-common/bin/pastebin'], stdin=inxi.stdout, stdout=subprocess.PIPE)
|
|
14 |
inxi.stdout.close()
|
|
15 |
output = pastebin.communicate()[0]
|
|
16 |
output = output.split()[0] # if we have more than one URL, only use the first one
|
|
0 |
change-pastebin-path.patch
|