-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-edge.sh
More file actions
26 lines (22 loc) · 790 Bytes
/
install-edge.sh
File metadata and controls
26 lines (22 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
set -e
echo "Installing Microsoft Edge on Fedora Atomic..."
# Add Microsoft Edge repository
echo "Adding Microsoft Edge repository..."
sudo sh -c 'cat > /etc/yum.repos.d/microsoft-edge.repo << EOF
[microsoft-edge]
name=Microsoft Edge
baseurl=https://packages.microsoft.com/yumrepos/edge
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
EOF'
# Install Microsoft Edge using rpm-ostree
echo "Installing Microsoft Edge (this will require a reboot)..."
sudo rpm-ostree install microsoft-edge-stable
echo ""
echo "Microsoft Edge has been layered into the system!"
echo "Please reboot your system to complete the installation:"
echo " sudo systemctl reboot"
echo ""
echo "After reboot, Microsoft Edge will be available with full browser integration."