From db54c9b6ce543bab4f40f725d510e40880bc3a1a Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 14 Mar 2017 12:02:44 +0100 Subject: make services GHNS work with store.kde.org Summary: point the knsrc providers file to the new kde store, and port the servicemenuinstallation/servicemenudeinstallation scripts to kf5 (they still were based on kde4-config) BUG:376922 Test Plan: downloaded some service menus (send to telegram, convert svg) by the knewstuff ui available in the services page of config dialog they get installed in the proper folder and work, uninstall works Reviewers: #dolphin, emmanuelp Reviewed By: #dolphin, emmanuelp Subscribers: elvisangelaccio Differential Revision: https://phabricator.kde.org/D5035 --- src/settings/services/servicemenuinstallation | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/settings/services/servicemenuinstallation') diff --git a/src/settings/services/servicemenuinstallation b/src/settings/services/servicemenuinstallation index ac2cf8f1c..36b9debd2 100755 --- a/src/settings/services/servicemenuinstallation +++ b/src/settings/services/servicemenuinstallation @@ -2,7 +2,7 @@ require 'pathname' require 'fileutils' archive = ARGV[0] -$servicedir = `kde4-config --localprefix`.strip! + "share/kde4/services/ServiceMenus/" +$servicedir = `qtpaths --writable-path GenericDataLocation`.strip! + "/kservices5/ServiceMenus/" FileUtils.mkdir_p($servicedir) if !File.exist?($servicedir) if archive[(archive.length - 8)..(archive.length - 1)] == ".desktop" puts "Single-File Service-Menu" -- cgit v1.3.1