File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ fn_check_steamcmd(){
66
66
fn_check_steamcmd_dir (){
67
67
# Worksround that pre-installs the correct steam directories to ensure all packages use the correct Standard
68
68
# https://github.com/ValveSoftware/steam-for-linux/issues/6976#issuecomment-610446347
69
- if [ ! -d " ${XDG_DATA_HOME :- " ${ HOME} /.local/share" } " ]; then
70
- mkdir -p " ${XDG_DATA_HOME :- " ${ HOME} /.local/share" } "
69
+ if [ ! -d " ${HOME} /.local/share" ]; then
70
+ mkdir -p " ${HOME} /.local/share"
71
71
fi
72
72
73
73
if [ ! -d " ${HOME} /.steam" ]; then
@@ -78,14 +78,14 @@ fn_check_steamcmd_dir(){
78
78
if [ -d " ${HOME} /.steam/root" ]; then
79
79
rm " ${HOME} /.steam/root"
80
80
fi
81
- ln -s " ${XDG_DATA_HOME :- " ${ HOME} /.local/share" } /Steam" " ${HOME} /.steam/root"
81
+ ln -s " ${HOME} /.local/share/Steam" " ${HOME} /.steam/root"
82
82
fi
83
83
84
84
if [ ! -L " ${HOME} /.steam/steam" ]; then
85
85
if [ -d " ${HOME} /.steam/steam" ]; then
86
86
rm " ${HOME} /.steam/steam"
87
87
fi
88
- ln -s " ${XDG_DATA_HOME :- " ${ HOME} /.local/share" } /Steam" " ${HOME} /.steam/steam"
88
+ ln -s " ${HOME} /.local/share/Steam" " ${HOME} /.steam/steam"
89
89
fi
90
90
}
91
91
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ local commandaction="Fix"
9
9
local function_selfname=$( basename " $( readlink -f " ${BASH_SOURCE[0]} " ) " )
10
10
11
11
# Fixes: 20150 Segmentation fault (core dumped) error.
12
- if [ ! -d " ${XDG_DATA_HOME :- " ${ HOME} /.local/share" } /Arma 3" ]|| [ ! -d " ${XDG_DATA_HOME :- " ${ HOME} /.local/share" } /Arma 3 - Other Profiles" ]; then
12
+ if [ ! -d " ${HOME} /.local/share/Arma 3" ]|| [ ! -d " ${HOME} /.local/share/Arma 3 - Other Profiles" ]; then
13
13
fixname=" 20150 Segmentation fault (core dumped)"
14
14
fn_fix_msg_start
15
- mkdir -p " ${XDG_DATA_HOME :- " ${ HOME} /.local/share" } /Arma 3 - Other Profiles"
15
+ mkdir -p " ${HOME} /.local/share/Arma 3 - Other Profiles"
16
16
fn_fix_msg_end
17
17
fi
You can’t perform that action at this time.
0 commit comments