summarylogtreecommitdiffstats
path: root/lenovolegionlinux.install
blob: 8cbd479417300ad0c07e328f2bf9dac6745a0cbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
	rmmod legion-laptop.ko #unload old module
	echo Installation Finished!
	echo Reboot the system or run modprobe legion-laptop to load the module!
}

post_upgrade() {
 post_install $1
}

post_remove() {
	rmmod legion-laptop.ko #unload old module
	echo Uninstall finished.
	echo Reboot the system.
	RED='\033[0;31m'
	BOLD=$(tput bold)
	echo -e "${RED} ${BOLD} If you have a 2022 or 2023 model, please help testing the new features '\e]8;;https://github.com/johnfanv2/LenovoLegionLinux/issues/46\ahere\e]8;;\a'"
}