mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 01:11:48 +00:00
fix(deck): Patch broken mura setup script
This commit is contained in:
parent
1fd0d7aa66
commit
477f765ee1
@ -8,6 +8,7 @@ URL: https://github.com/ublue-os/bazzite
|
||||
Source: https://gitlab.com/evlaV/galileo-mura-extractor/-/archive/main/galileo-mura-extractor-main.tar.gz
|
||||
|
||||
Patch0: fedora.patch
|
||||
Patch1: valve.patch
|
||||
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: gcc
|
||||
|
11
spec_files/galileo-mura/valve.patch
Normal file
11
spec_files/galileo-mura/valve.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/galileo-mura-setup
|
||||
+++ b/galileo-mura-setup
|
||||
@@ -16,7 +16,7 @@
|
||||
deck_serial=${deck_serial^^}
|
||||
manufacturer=$(sed -n 's/.*Manufacturer: \(.*\)/\1/p' < /tmp/mura/info.txt)
|
||||
|
||||
-mura_base_path=/home/deck/.config/gamescope/mura
|
||||
+mura_base_path="${XDG_CONFIG_HOME:-$HOME/.config}/gamescope/mura"
|
||||
mkdir -p "$mura_base_path"
|
||||
|
||||
if [ "$manufacturer" != "SDC" ]; then
|
Loading…
Reference in New Issue
Block a user