blob: 35a32f5d9d23d95e1944cb545798039c141ca72f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
post_install(){
cd /usr/lib/node_modules/yt-cli
which yarn >/dev/null 2>&1 && yarn install || npm install
echo -e "[32;1m[+] [0;1mThank you for using yt-cli!\n"
}
post_upgrade(){
cd /usr/lib/node_modules/yt-cli
which yarn >/dev/null 2>&1 && yarn install || npm install
}
pre_remove(){
rm -rf /usr/lib/node_modules/yt-cli
}
|