Commit 4f810cc6 authored by Balló György's avatar Balló György Committed by Balló György

Install webextension into libdir

Only platform-independent data is allowed in datadir.
parent 6de2135e
......@@ -19,6 +19,7 @@ from gi.repository import Gio
localedir = '@localedir@'
pkgdatadir = '@pkgdatadir@'
pkglibdir = '@pkglibdir@'
from eolie.application import Application
......@@ -45,7 +46,7 @@ if __name__ == "__main__":
resource = Gio.resource_load(os.path.join(pkgdatadir, 'eolie.gresource'))
Gio.Resource._register(resource)
app = Application("@VERSION@", os.path.join(pkgdatadir, 'webkitextension'))
app = Application("@VERSION@", os.path.join(pkglibdir, 'webkitextension'))
signal.signal(signal.SIGINT, signal.SIG_DFL)
if 'EOLIE_TRACE' in os.environ:
graphviz = GraphvizOutput()
......
......@@ -3,7 +3,7 @@
# Adrian Perez, 2015-08-25 11:58
#
webkitextensiondir = $(datadir)/eolie/webkitextension
webkitextensiondir = $(libdir)/eolie/webkitextension
webkitextension_DATA = extension.py
extension.py: extension.py.in Makefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment