Skip to content

Commit

Permalink
Fix reprovision permission errors
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee authored Nov 8, 2024
1 parent 85fa06c commit f4ff145
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/seagl-reprovision
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ sudo rm -rf /var/lib/seagl
sudo rm -rf /var/lib/flatpak

function copy_from_usr() {
cp /usr/etc/$1 /etc/$1
sudo 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 f4ff145

Please sign in to comment.