aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-10-11 17:21:21 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-11-22 02:52:58 -0300
commit7f1906dba7ba7c33cadb5af4a08f48cb47370b1d (patch)
treea4a16c64bb1e2df016898d1681a9e25375d03cb4
parentMerge branch 'master' of ssh://github.com/netblue30/firejail (diff)
downloadfirejail-7f1906dba7ba7c33cadb5af4a08f48cb47370b1d.tar.gz
firejail-7f1906dba7ba7c33cadb5af4a08f48cb47370b1d.tar.zst
firejail-7f1906dba7ba7c33cadb5af4a08f48cb47370b1d.zip
ktorrent.profile: fix mkfile without mkdir
firejail fails to create the following files: * ~/.kde/share/config/ktorrentrc * ~/.kde4/share/config/ktorrentrc Because it does not create the preceding directories beforehand: * ~/.kde/share/config * ~/.kde4/share/config Relates to #5414.
-rw-r--r--etc/profile-a-l/ktorrent.profile2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/profile-a-l/ktorrent.profile b/etc/profile-a-l/ktorrent.profile
index 949189a1d..f34d1ccec 100644
--- a/etc/profile-a-l/ktorrent.profile
+++ b/etc/profile-a-l/ktorrent.profile
@@ -22,7 +22,9 @@ include disable-programs.inc
22include disable-shell.inc 22include disable-shell.inc
23 23
24mkdir ${HOME}/.kde/share/apps/ktorrent 24mkdir ${HOME}/.kde/share/apps/ktorrent
25mkdir ${HOME}/.kde/share/config
25mkdir ${HOME}/.kde4/share/apps/ktorrent 26mkdir ${HOME}/.kde4/share/apps/ktorrent
27mkdir ${HOME}/.kde4/share/config
26mkdir ${HOME}/.local/share/ktorrent 28mkdir ${HOME}/.local/share/ktorrent
27mkdir ${HOME}/.local/share/kxmlgui5/ktorrent 29mkdir ${HOME}/.local/share/kxmlgui5/ktorrent
28mkfile ${HOME}/.config/ktorrentrc 30mkfile ${HOME}/.config/ktorrentrc