summarylogtreecommitdiffstats
path: root/memtest86-efi.install
blob: 108c232bbd7dd6546ac635e367b852c6c9153ecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
	echo -e "You can use command \033[4mmemtest86-efi --install\033[0m as root to install MemTest86 in your ESP."
}

post_upgrade() {
	[[ "$(grep install= /etc/memtest86-efi.conf)" == *"1" ]] && /usr/bin/memtest86-efi --update
	exit 0
}

pre_remove() {
	[[ "$(grep install= /etc/memtest86-efi.conf)" == *"1" ]] && /usr/bin/memtest86-efi --remove
	exit 0
}