summarylogtreecommitdiffstats
path: root/bash-it-git.install
blob: 804c425bf75830ad40617d5543d65266f5a8f042 (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
post_install() {
  cat >&2 << 'EOF'

    ##                                                  ##
    ## To install bash-it for the logged-in user,       ##
    ## run: /usr/share/bash-it-git/install.sh           ##
    ##                                                  ##

EOF
}

post_upgrade() {
  cat >&2 << 'EOF'

    ##                                                  ##
    ## To finish the upgrade for the logged-in user,    ##
    ## run: /usr/share/bash-it-git/upgrade.sh           ##
    ##                                                  ##

EOF
}

post_remove() {
  cat >&2 << 'EOF'

    ##                                                  ##
    ## To entirely remove user-side effects of bash-it: ##
    ##                                                  ##
    ## 1. Re-install bash-it-git                        ##
    ## 2. For each user, run: ~/.bash_it/uninstall.sh   ##
    ##    (this also restores their original .bashrc)   ##
    ## 3. Remove the `~/.bash_it` directory (optional)  ##
    ## 4. Uninstall bash-it-git                         ##
    ##                                                  ##

EOF
}