mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 09:31:34 -05:00
Fix Edge setup
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
7861b9e50f
commit
b2d89126fb
@ -136,10 +136,10 @@ if [ "${MACHINE_TYPE}" == 'x86_64' ]; then
|
|||||||
sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge
|
sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge
|
||||||
sudo dnf install -y microsoft-edge-stable
|
sudo dnf install -y microsoft-edge-stable
|
||||||
sudo mkdir -p /etc/opt/edge/policies/managed/ /etc/opt/edge/policies/recommended/
|
sudo mkdir -p /etc/opt/edge/policies/managed/ /etc/opt/edge/policies/recommended/
|
||||||
sudo chmod 755 /etc/opt/edge/policies/managed/ /etc/opt/edge/policies/recommended/
|
sudo chmod -R 755 /etc/opt/edge
|
||||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/managed.json | sudo tee /etc/opt/edge/policies/managed/managed.json
|
unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/managed.json | sudo tee /etc/opt/edge/policies/managed/managed.json
|
||||||
sudo chmod 644 /etc/opt/edge/policies/managed/managed.json
|
sudo chmod 644 /etc/opt/edge/policies/managed/managed.json
|
||||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/recommended.json | sudo tee /etc/opt/edge/policies/managed/recommended.json
|
unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/recommended.json | sudo tee /etc/opt/edge/policies/recommended/recommended.json
|
||||||
sudo chmod 644 /etc/opt/edge/policies/managed/managed.json /etc/opt/edge/policies/managed/recommended.json
|
sudo chmod 644 /etc/opt/edge/policies/managed/managed.json /etc/opt/edge/policies/managed/recommended.json
|
||||||
sudo chmod 644 /etc/opt/edge/policies/managed/recommended.json
|
sudo chmod 644 /etc/opt/edge/policies/managed/recommended.json
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user