Skip to content

Commit

Permalink
kcalc.profile: fix mkfile without mkdir
Browse files Browse the repository at this point in the history
firejail may fail to create the following files:

* ~/.kde/share/config/kcalcrc
* ~/.kde4/share/config/kcalcrc

Because it does not create the preceding directories beforehand:

* ~/.kde/share/config
* ~/.kde4/share/config

See also commit 7f1906d ("ktorrent.profile: fix mkfile without mkdir",
2022-10-11) / PR netblue30#5415.
  • Loading branch information
kmk3 committed Dec 1, 2022
1 parent 32e7c3a commit 9b87289
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/profile-a-l/kcalc.profile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/.kde/share/config
mkdir ${HOME}/.kde4/share/config
mkdir ${HOME}/.local/share/kxmlgui5/kcalc
mkfile ${HOME}/.config/kcalcrc
mkfile ${HOME}/.kde/share/config/kcalcrc
Expand Down

0 comments on commit 9b87289

Please sign in to comment.