Skip to content

Commit

Permalink
M
Browse files Browse the repository at this point in the history
  • Loading branch information
KA2107 committed Jul 25, 2012
1 parent d2c94f4 commit 01fe227
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions grub/grub_bios.sh
Expand Up @@ -334,6 +334,12 @@ _GRUB_BIOS_SETUP_BOOT_PART_DIR() {

sudo install -d "${_GRUB_BIOS_BOOTPART_DIR}/locale" || true
sudo install -D -m0644 "${_GRUB_BIOS_LOCALE_DIR}/en@quot/LC_MESSAGES/grub.mo" "${_GRUB_BIOS_BOOTPART_DIR}/locale/en.mo" || true

if [[ ! -e "${_GRUB_BIOS_BOOTPART_DIR}/locale/en.mo" ]]; then
sudo install -D -m0644 "/usr/share/locale/en@quot/LC_MESSAGES/grub.mo" "${_GRUB_BIOS_BOOTPART_DIR}/locale/en.mo" || true
echo
fi

echo

sudo install -D -m0644 "${_GRUB_BIOS_BACKUP_DIR}/${_GRUB_BIOS_MENU_CONFIG}.cfg" "${_GRUB_BIOS_BOOTPART_DIR}/${_GRUB_BIOS_MENU_CONFIG}_backup.cfg" || true
Expand Down
6 changes: 6 additions & 0 deletions grub/grub_uefi.sh
Expand Up @@ -472,6 +472,12 @@ _GRUB_UEFI_SETUP_UEFISYS_BOOTDIR() {

sudo install -d "${_GRUB_UEFI_BOOTDIR_ACTUAL}/locale" || true
sudo install -D -m0644 "${_GRUB_UEFI_LOCALE_DIR}/en@quot/LC_MESSAGES/grub.mo" "${_GRUB_UEFI_BOOTDIR_ACTUAL}/locale/en.mo" || true

if [[ ! -e "${_GRUB_UEFI_BOOTDIR_ACTUAL}/locale/en.mo" ]]; then
sudo install -D -m0644 "/usr/share/locale/en@quot/LC_MESSAGES/grub.mo" "${_GRUB_UEFI_BOOTDIR_ACTUAL}/locale/en.mo" || true
echo
fi

echo

## Copy the old config file as ${_GRUB_UEFI_MENU_CONFIG}_backup.cfg
Expand Down

0 comments on commit 01fe227

Please sign in to comment.