/usr/share/psd/browsers/firefox is in profile-sync-daemon 6.31-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | if [[ -d $HOME/.mozilla/firefox ]]; then
profileArr=( $(grep '[P,p]'ath= $HOME/.mozilla/firefox/profiles.ini |
sed 's/[P,p]ath=//') )
index=0
PSNAME="$browser"
for profileItem in ${profileArr[@]}; do
if [[ $(echo $profileItem | cut -c1) = "/" ]]; then
# path is not relative
DIRArr[index]="$profileItem"
else
# we need to append the default path to give a
# fully qualified path
DIRArr[index]="$HOME/.mozilla/firefox/$profileItem"
fi
index=$index+1
done
fi
check_suffix=1
|