X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=b413e81a43117f9528375e8c14eb8345a49442d6;hb=3381137bc9be8302e6274ea0fc2454a878cfe1cd;hp=fd8dbf663fea3da55eccbda19a21823de35f9574;hpb=4f5eb7354cf7d268711ac84e8ef0a9de5d236b41;p=kernel-cn.git diff --git a/debian/postinst b/debian/postinst index fd8dbf6..b413e81 100755 --- a/debian/postinst +++ b/debian/postinst @@ -109,8 +109,12 @@ echo -n " kernel-img.conf" # generate initial grub loaders if [ ! -d "$grub_dir" ]; then mkdir -p "$grub_dir" + # x86 if [ -d /usr/lib/grub/i386-pc ]; then cp -a /usr/lib/grub/i386-pc/* "$grub_dir" + # x86_64 + elif [ -d /usr/lib/grub/x86_64-pc ]; then + cp -a /usr/lib/grub/x86_64-pc/* "$grub_dir" fi fi echo -n " grub1"