Commit 9ef22a89 authored by Seblu's avatar Seblu
Browse files

fix path :/


git-svn-id: https://seblu.net/s/archpkg@213 02741741-5192-46b8-8916-7152b19231d9
parent f25f1fda
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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
@@ -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
}