summarylogtreecommitdiffstats
path: root/.INSTALL
blob: c61a68c315ede08dc3e1082d435a4d7cd666710d (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
#!/bin/sh

post_install() {
    ECHOLEN=$(echo -e|awk '{print length($0)}')
    if [ ${ECHOLEN} = '0' ]
    then
        ECHO='echo -e'
    else
        ECHO='echo'
    fi;
    $ECHO "\033[36m******************************\033[0m"
    $ECHO "\033[36m*         Completed!         *\033[0m"
    $ECHO "\033[36m******************************\033[0m"
}

post_upgrade() {
    ECHOLEN=$(echo -e|awk '{print length($0)}')
    if [ ${ECHOLEN} = '0' ]
    then
        ECHO='echo -e'
    else
        ECHO='echo'
    fi;
    $ECHO "\033[36m******************************\033[0m"
    $ECHO "\033[36m*         Completed!         *\033[0m"
    $ECHO "\033[36m******************************\033[0m"
    $ECHO
    $ECHO "\033[36mWARN: v2raya@.service was deprecated; please use user service v2raya-lite.service instead.\033[0m"
    $ECHO "\033[36m      This does NOT impact v2raya.service users.\033[0m"
}