fix profile sed
This commit is contained in:
parent
8c2f220c86
commit
15c68eaed4
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ profilesini="$browserdir/profiles.ini"
|
|||
# Start librewolf headless so it generates a profile. Then get that profile in a variable.
|
||||
sudo -u "$name" librewolf --headless >/dev/null 2>&1 &
|
||||
sleep 1
|
||||
profile="$(sed -n "/Default=.*.default-release/ s/.*=//p" "$profilesini")"
|
||||
profile="$(sed -n "/Default=.*.default-default/ s/.*=//p" "$profilesini")"
|
||||
pdir="$browserdir/$profile"
|
||||
|
||||
[ -d "$pdir" ] && makeuserjs
|
||||
|
|
Loading…
Reference in a new issue