summarylogtreecommitdiffstats
path: root/profile-sync-daemon-librewolf.install
blob: 358cd2b748fb6b291ad6a11dcd276d36a552a200 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
post_install() {
    echo
    echo '!! Now you have to add librewolf to your PSD config !!'
    echo
    echo 'Edit:'
    echo
    echo '  ~/.config/psd/psd.conf'
    echo
    echo 'For example:'
    echo
    echo '  BROWSERS(firefox librewolf)'
    echo
    echo 'or just:'
    echo
    echo '  BROWSERS(librewolf)'
    echo
    echo 'Then Close all Browser windows and (re)start PSD:'
    echo
    echo '  systemctl --user restart psd.service'
    echo
}

post_upgrade() {
    echo
    echo '!! Make sure you have librewolf in your PSD config !!'
    echo
    echo 'Edit:'
    echo
    echo '  ~/.config/psd/psd.conf'
    echo
    echo 'For example:'
    echo
    echo '  BROWSERS(firefox librewolf)'
    echo
    echo 'or just:'
    echo
    echo '  BROWSERS(librewolf)'
    echo
    echo 'Then Close all Browser windows and (re)start PSD:'
    echo
    echo '  systemctl --user restart psd.service'
    echo
}

post_remove() {
    echo
    echo '!! Dont forget to remove librewolf from your PSD config !!'
    echo
    echo 'Edit:'
    echo
    echo '  ~/.config/psd/psd.conf'
    echo
    echo 'Change:'
    echo
    echo '  BROWSERS(firefox librewolf)'
    echo
    echo 'to:'
    echo
    echo '  BROWSERS(firefox)'
    echo
    echo 'Then Close all Browser windows and (re)start PSD:'
    echo
    echo '  systemctl --user restart psd.service'
    echo
}