-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintune-portal-bin.install
More file actions
18 lines (17 loc) · 999 Bytes
/
intune-portal-bin.install
File metadata and controls
18 lines (17 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
echo "Intune Portal does not currently support Arch Linux as a distribution."
echo "So you have to edit or replace your /etc/os-release file with an Ubuntu one."
echo "This package provides such a file in /opt/microsoft/intune/share/os-release for this purpose!"
echo ""
echo "Before you can enroll your device, you need to enable the service and timer and then reboot:"
echo "'sudo systemctl enable intune-daemon.service'"
echo "For GNOME based systems:"
echo "'systemctl --user enable intune-agent.service intune-agent.timer gnome-keyring-daemon.socket gnome-keyring-daemon.service'"
echo "For Plasma based systems:"
echo "'systemctl --user enable intune-agent.service intune-agent.timer'"
echo "Then add file as mentioned in https://wiki.archlinux.org/title/KDE_Wallet#Automatic_D-Bus_activation."
echo "Don't forget to reboot after running the above commands!"
}
post_remove() {
echo "Remember to fix the os-release file!"
}