]> cloud.milkyroute.net Git - dolphin.git/commit
servicemenuinstaller: Run installation scripts with cwd in their parent directories
authorAlexander Potashev <aspotashev@gmail.com>
Mon, 15 Jul 2019 19:17:03 +0000 (22:17 +0300)
committerAlexander Potashev <aspotashev@gmail.com>
Tue, 16 Jul 2019 12:04:54 +0000 (15:04 +0300)
commitf523585f1be5cf2aca70d2e3b13dff7f05ffa2a1
tree9edc887e4643247b38b263d96ad5624fe1313799
parentc951c63e14a272d273be2a7556bcf9298e4e7693
servicemenuinstaller: Run installation scripts with cwd in their parent directories

Summary:
Otherwise, if cwd is set to the unpacked dir root, some service menus
fail to install.

Test Plan:
 - Successfully Installed and uninstalled the "Color Folder" service menu from "Configure Dolphin..." -> service menus -> KNewStuff.
 - ./test_run.rb still passes all its tests.

Reviewers: elvisangelaccio, sitter

Reviewed By: sitter

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D22466
src/settings/services/servicemenuinstaller/servicemenuinstaller.cpp
src/settings/services/test/service_menu_deinstallation_test.rb