fix: KDE-Cache (kbuildsycoca) neu bauen, sonst fehlt Menue-Eintrag
All checks were successful
Build AppImage / build (push) Has been skipped
All checks were successful
Build AppImage / build (push) Has been skipped
This commit is contained in:
parent
03e1ae527b
commit
be38b6e700
1 changed files with 8 additions and 0 deletions
|
|
@ -208,6 +208,14 @@ fi
|
||||||
if command -v gtk-update-icon-cache >/dev/null; then
|
if command -v gtk-update-icon-cache >/dev/null; then
|
||||||
gtk-update-icon-cache -q "$HOME/.nix-profile/share/icons/hicolor" 2>/dev/null || true
|
gtk-update-icon-cache -q "$HOME/.nix-profile/share/icons/hicolor" 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
|
# KDE-spezifisch: KBuildSycoca-Cache neu bauen, sonst erscheint der Eintrag
|
||||||
|
# erst nach Plasma-Neustart. Gilt fuer KDE 5 (kbuildsycoca5) und 6 (kbuildsycoca6).
|
||||||
|
for kbs in kbuildsycoca6 kbuildsycoca5; do
|
||||||
|
if command -v "$kbs" >/dev/null; then
|
||||||
|
"$kbs" >/dev/null 2>&1 || true
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
ok "Menue + Icon-Cache aktualisiert"
|
ok "Menue + Icon-Cache aktualisiert"
|
||||||
|
|
||||||
# --- Fertig ---------------------------------------------------------------
|
# --- Fertig ---------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue