mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 03:32:36 +00:00
chore: Ensure ~/.local/share/applications exists in restore-original-terminal ujust command
This commit is contained in:
parent
30eac4aae9
commit
2a80844021
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user