summarylogtreecommitdiffstats
path: root/archiso-grub-themes.install
blob: 38e2464b8209787886c3bbc2663d781697833f3a (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
# Maintainer: MaurĂ­cio de Lima <mauriciodelima.mol@gmail.com>

#pre_install() {
	# do something here
#}

post_install() {
	sed -i /GRUB_THEME=/s/.*/GRUB_THEME="\/usr\/share\/grub\/themes\/archiso\/theme.txt"/ /etc/default/grub
}

#pre_upgrade() {
	# do something here
#}

post_upgrade() {
	post_install
	grub-mkconfig -o /boot/grub/grub.cfg
}

#pre_remove() {
	# do something here
#}

#post_remove() {
	# do something here
#}