diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2012-11-11 19:57:22 -0200 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2012-11-11 19:57:22 -0200 |
commit | 246bf186da93a3852240ac92428f54b41c58e1db (patch) | |
tree | 8f0e6a272bf36d3c00a15d60bb69d9b01c3e022b /libre/grub2/grub2.install | |
parent | 7ad962cb59151982416803f4c42bf114dbc9c4ee (diff) | |
parent | 57c4a12d7c00bb82275af154cbcdbb7ec871c57c (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/grub2/grub2.install')
-rwxr-xr-x | libre/grub2/grub2.install | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libre/grub2/grub2.install b/libre/grub2/grub2.install deleted file mode 100755 index 000533553..000000000 --- a/libre/grub2/grub2.install +++ /dev/null @@ -1,33 +0,0 @@ -infodir=usr/share/info -filelist=(grub.info grub-dev.info) - -post_install() { - if [ -f /boot/grub/grub.cfg.pacsave ]; then - echo "Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg" - install -Dm644 /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg - fi - - cat << 'EOM' -Generating grub.cfg.example config file... -This may fail on some machines running a custom kernel. -EOM - - grub-mkconfig -o /boot/grub/grub.cfg.example 2> /dev/null - echo "done." - - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -pre_remove() { - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} |