https://bugs.kde.org/show_bug.cgi?id=371554
--- Comment #1 from kdeb...@chilon.net --- Here's the output of me installing a script, uninstalling it, and then attempting to reinstall it again: ``` james@lonchil registerShortcut % plasmapkg2 --type kwinscript -i . pluginname: "shortcutsBug" Generated "/home/james/.local/share/kwin/scripts//kpluginindex.json" ( 4 plugins) org.kde.plasma: Could not register package as service (this is not necessarily fatal): "kwin-script-shortcutsBug.desktop" Successfully installed /home/james/kde/test/registerShortcut james@lonchil registerShortcut % plasmapkg2 --type kwinscript -r . Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/home/james/kde/built/lib64/plugins/plasma/packagestructure/plasma_packagestructure_share.so" instead. Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/qt/plugins/plasma/packagestructure/plasma_packagestructure_share.so" instead. No metadata file in the package, expected it at: "/home/james/.local/share/kwin/scripts/" No metadata file in the package, expected it at: "/home/james/.local/share/kwin/scripts/" Constructing a KPluginInfo object from old style JSON. Please use kcoreaddons_desktop_to_json() for "/home/james/kde/test/registerShortcut" instead of kservice_desktop_to_json() in your CMake code. Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/home/james/kde/built/lib64/plugins/plasma/packagestructure/plasma_packagestructure_share.so" instead. Calling KPluginInfo::property("X-KDE-PluginInfo-Name") is deprecated, use KPluginInfo::pluginName() in "/usr/lib/qt/plugins/plasma/packagestructure/plasma_packagestructure_share.so" instead. Error: Plugin shortcutsBug is not installed. james@lonchil registerShortcut % plasmapkg2 --type kwinscript -i . pluginname: "shortcutsBug" org.kde.plasma: Could not register package as service (this is not necessarily fatal): "kwin-script-shortcutsBug.desktop" Error: Installation of /home/james/kde/test/registerShortcut failed: /home/james/.local/share/kwin/scripts/shortcutsBug already exists ``` You can see the files are left behind after the "remove". The `-r` argument specifies that it takes the name, but specifying that instead of the path leads to the same results. It seems that it should accept the path though as it manages to resolve the path to the name. -- You are receiving this mail because: You are watching all bug changes.