File: changeDataDirectory.patch

package info (click to toggle)
gedit-r-plugin 0.8.0.2-Gtk3-Python3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,240 kB
  • ctags: 530
  • sloc: python: 5,016; xml: 562; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 644 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Change data directory
 Package installs data to /usr/share instead of users home folder.
Origin: http://anonscm.debian.org/gitweb/?p=collab-maint/gedit-r-plugin.git;a=tree;f=debian/patches

--- a/RCtrl.py
+++ b/RCtrl.py
@@ -2778,7 +2778,7 @@
         if platform.platform() == 'Windows':
             return os.path.expanduser('~/gedit/plugins/RCtrl')
         else:
-            return os.path.expanduser('~/.local/share/gedit/plugins/RCtrl')       
+            return os.path.expanduser('/usr/share/gedit/plugins/RCtrl')
 
     def do_activate(self):
         self._instances[self.window] = RCtrlWindowHelper(self, self.window)