blob: c087d4f64851a618b059276e98755a78d69d0f81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
pre_install() {
mkdir /etc/mkinitcpio.d/old
mv -vf /etc/mkinitcpio.d/*.preset /etc/mkinitcpio.d/old
}
post_install(){
[ -f /etc/makeuki/makeuki.conf ] || cp /etc/makeuki/makeuki.conf.default /etc/makeuki/makeuki.conf
}
post_upgrade(){
[ -f /etc/makeuki/makeuki.conf ] || cp /etc/makeuki/makeuki.conf.default /etc/makeuki/makeuki.conf
}
post_remove() {
mv -vf /etc/mkinitcpio.d/old/* /etc/mkinitcpio.d/
rm -rf /etc/mkinitcpio.d/old
}
|