diff options
Diffstat (limited to 'firefox/install.sh')
-rwxr-xr-x | firefox/install.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firefox/install.sh b/firefox/install.sh index e82e17c..0694ed8 100755 --- a/firefox/install.sh +++ b/firefox/install.sh @@ -10,6 +10,8 @@ fi printf "%s: Installing user.js\n" "$0" profile=$(grep -Po -m1 'Default=\K.*' <~/.mozilla/firefox/profiles.ini) -if [ -d "$HOME"/.mozilla/firefox/"$profile" ]; then - ln -vst ~/.mozilla/firefox/"$profile" "$XDG_CONFIG_HOME"/firefox/user.js +if [ -d "$XDG_CONFIG_HOME"/firefox ]; then + for item in "$XDG_CONFIG_HOME"/firefox/*; do + ln -vst ~/.mozilla/firefox/"$profile" "$item" + done fi |