From 2a80844021cb04463e92cd9c450fa484db16ea0c Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Wed, 6 Mar 2024 18:56:14 -0800 Subject: [PATCH] chore: Ensure ~/.local/share/applications exists in restore-original-terminal ujust command --- .../desktop/shared/usr/share/ublue-os/just/80-bazzite.just | 1 + 1 file changed, 1 insertion(+) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/80-bazzite.just b/system_files/desktop/shared/usr/share/ublue-os/just/80-bazzite.just index 087709ce..5ecd10fd 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/80-bazzite.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/80-bazzite.just @@ -5,6 +5,7 @@ restore-original-terminal: #!/usr/bin/bash IMAGE_INFO="/usr/share/ublue-os/image-info.json" BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO) + mkdir -p $HOME/.local/share/applications if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then rm -f $HOME/.local/share/applications/org.gnome.Terminal.desktop cp /usr/share/applications/org.gnome.Terminal.desktop $HOME/.local/share/applications/org.gnome.Terminal.desktop