blob: ff9cf5675b46fc16bd4f61d10ef1e2b8d04ec360 (
plain)
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
27
28
29
30
31
|
post_install() {
# Create chrome-remote-desktop group
[[ $(cat /etc/group) == *chrome-remote-desktop* ]] || groupadd chrome-remote-desktop
echo "Set up CRD by issuing the command:"
echo "crd --setup"
echo "as a normal user."
echo ""
echo "After that, enable access to CRD in your chrome or chromium browser."
echo ""
echo "To {enable,start} the service, issue the command:"
echo "systemctl --user {enable,start} chrome-remote-desktop"
echo "This only really makes sense for servers."
echo ""
echo "You can also start the chrome remote desktop server by issuing the command:"
echo "crd"
echo "as a normal user. "
echo "This will prompt you to set up your CRD if it hasn't been set up already."
echo ""
echo "Go to https://support.google.com/chrome/answer/1649523 for more information."
}
post_upgrade() {
post_install
}
post_remove() {
echo ""
echo "Please remove ~/.config/chrome-remote-desktop folder manually"
echo ""
}
|