summarylogtreecommitdiffstats
path: root/bfc.install
blob: dccbd1eaaffa0bacf4e354260239ac88d347e739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 post_install() {
    echo -e "\033[32mbfc is a fast jit brainfuck interpreter.\033[0m"
    echo -e "\033[32musage: bfc /file/to/brainfuck/file [-i] [-r]\033[0m"
    echo -e '\033[32muse `i` flag to disable jit and `r` flag to disable optimization\033[0m'
}

post_upgrade() {
    post_install
}

pre_remove() {
    echo -e "\033[32mremoving bfc...\033[0m"
    rm /usr/bin/bfc
}