kde-plasma/plasma-workspace: Improve old script detection/migration
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 22 Dec 2019 17:06:58 +0000 (18:06 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 22 Dec 2019 18:57:48 +0000 (19:57 +0100)
commit77aa9069fe3cc4680c446a3d9ecd2f5f695f171d
tree2dbdb4d4ad74769bf154ab98af0ee209fd7d5714
parentc1738143693d9a5c47c36b3be33c863e1ac58ca1
kde-plasma/plasma-workspace: Improve old script detection/migration

- Drop mkdir and chmod commands
- Add missing || die
- No need for subshells to detect constant paths
- Use md5sum to detect if existing scripts were modified at all
- Clean up pre-5.17.4 scripts, they were owned by plasma-workspace anyway

Bug: https://bugs.gentoo.org/688366
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-plasma/plasma-workspace/plasma-workspace-5.17.4-r1.ebuild