mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-20 15:40:35 +00:00
fix(gnome): Don't remove steam .desktop files, these are auto-categorized now
This commit is contained in:
parent
d08212d6ad
commit
f4b0baa3c5
@ -44,12 +44,6 @@ if [[ -z $SENTINEL_CREATED ]]; then
|
||||
cat "$SENTINEL_FILE"
|
||||
)
|
||||
|
||||
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
|
||||
# clear steam game desktop shortcut clutter
|
||||
DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share}
|
||||
grep --files-with-matches "Exec=steam steam://rungameid/" ${DATA_HOME}/applications/* | tr '\n' '\0' | xargs -0 -I {} rm {} || true
|
||||
fi
|
||||
|
||||
# If we were executed as a session user and then re-execute as root below, we don't want to set root's sentinel too
|
||||
export SENTINEL_CREATED=1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user