Package: gedit / 3.14.0-3

12_send-to-fpaste_path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From a9fd3f931a6e2cbd282b293f6b0b3828bfbd18f2 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Sun, 5 Oct 2014 17:10:20 +0200
Subject: send-to-fpaste: use /usr/bin/env instead of /bin/env

In light of the larger /usr - movement, it would be nicer to use
/usr/bin/env instead of /bin/env. Some distros do not offer /bin/env
(and never have). All other files refering to 'env' look for it in
/usr/bin as well, so it's just consistent.

https://bugzilla.gnome.org/show_bug.cgi?id=737931

diff --git a/plugins/externaltools/data/send-to-fpaste.tool.in b/plugins/externaltools/data/send-to-fpaste.tool.in
index e3edaca..d255007 100755
--- a/plugins/externaltools/data/send-to-fpaste.tool.in
+++ b/plugins/externaltools/data/send-to-fpaste.tool.in
@@ -1,4 +1,4 @@
-#!/bin/env python3
+#!/usr/bin/env python3
 
 import os, urllib, json, sys, urllib.request
 from gi.repository import Gtk, Gdk
-- 
cgit v0.10.1