From 9b87289d220193fe6063bb096fb85c2d9213d6e4 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Thu, 1 Dec 2022 04:42:23 -0300 Subject: kcalc.profile: fix mkfile without mkdir 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 7f1906dba ("ktorrent.profile: fix mkfile without mkdir", 2022-10-11) / PR #5415. --- etc/profile-a-l/kcalc.profile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/profile-a-l/kcalc.profile') diff --git a/etc/profile-a-l/kcalc.profile b/etc/profile-a-l/kcalc.profile index 18f1d4516..40fed2e2d 100644 --- a/etc/profile-a-l/kcalc.profile +++ b/etc/profile-a-l/kcalc.profile @@ -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 -- cgit v1.2.3-70-g09d2