Skip to content

Commit

Permalink
Reset Firefox config on reprovision
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Nov 8, 2024
1 parent f646c8d commit 85fa06c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/seagl-reprovision
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,13 @@ fi

sudo rm -rf /var/lib/seagl
sudo rm -rf /var/lib/flatpak

function copy_from_usr() {
cp /usr/etc/$1 /etc/$1
}

sudo rsync -rlv --delete /usr/etc/xdg/ /etc/xdg/
cp /usr/etc/firefox/policies/policies.json /etc/firefox/policies/policies.json
copy_from_usr firefox/policies/policies.json

sudo systemctl reboot

0 comments on commit 85fa06c

Please sign in to comment.