Loading install +5 −5 Original line number Diff line number Diff line Loading @@ -8,10 +8,10 @@ post_install () { echo "==> Updating dependancy..." depmod ${KERNEL_BUILD} echo "==> Generationg init root filesystem..." /usr/sbin/mkinitcpio -p $pkgname if [[ -x /usr/sbin/grub-mkconfig ]]; then mkinitcpio -p $pkgname if which grub-mkconfig >/dev/null; then echo "==> Updating grub2 configuration..." /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg fi #if test -e /usr/bin/VirtualBox; then # compile_vbox_modules Loading @@ -37,9 +37,9 @@ pre_remove() { } post_remove() { if [[ -x /usr/sbin/grub-mkconfig ]]; then if which grub-mkconfig >/dev/null; then echo "==> Updating grub2 configuration..." /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg fi } Loading Loading
install +5 −5 Original line number Diff line number Diff line Loading @@ -8,10 +8,10 @@ post_install () { echo "==> Updating dependancy..." depmod ${KERNEL_BUILD} echo "==> Generationg init root filesystem..." /usr/sbin/mkinitcpio -p $pkgname if [[ -x /usr/sbin/grub-mkconfig ]]; then mkinitcpio -p $pkgname if which grub-mkconfig >/dev/null; then echo "==> Updating grub2 configuration..." /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg fi #if test -e /usr/bin/VirtualBox; then # compile_vbox_modules Loading @@ -37,9 +37,9 @@ pre_remove() { } post_remove() { if [[ -x /usr/sbin/grub-mkconfig ]]; then if which grub-mkconfig >/dev/null; then echo "==> Updating grub2 configuration..." /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg fi } Loading