blob: c623a6253abc4bb14f12c59259fd1cc4b4840547 (
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
|
post_install() {
printf "\n\t GAME NOTES\n"
printf "\t ยด*~##############~*\`\n"
printf "\t##########################################################\n"
printf "\t# #\n"
printf "\t# You need to create an account at #\n"
printf "\t# https://www.pokemon-revolution-online.net/Register.php #\n"
printf "\t# #\n"
printf "\t##########################################################\n"
if [[ $(/usr/bin/tail -n 1 /usr/lib/os-release | /usr/bin/cut -d= -f2) != "archlinux" ]];
then
printf "==>\tUNSUPPORTED DISTRO DETECTED. #https://wiki.archlinux.org/index.php/Archn't\n";
printf "==>\tTHIS PACKAGE ONLY SUPPORTS Arch Linux.\n";
printf "==>\tPLEASE DO NOT ASK FOR SUPPORT ON THE AUR, YOU ARE ON YOUR OWN.\n\n";
fi
}
post_upgrade() {
if [[ $(/usr/bin/tail -n 1 /usr/lib/os-release | /usr/bin/cut -d= -f2) != "archlinux" ]];
then
printf "==>\tUNSUPPORTED DISTRO DETECTED.\n";
printf "==>\tTHIS PACKAGE ONLY SUPPORTS Arch Linux.\n";
printf "==>\tPLEASE DO NOT ASK FOR SUPPORT ON THE AUR, YOU ARE ON YOUR OWN.\n\n";
fi
printf "\nThanks for still using my pkg :)\n\n"
}
|