summaryrefslogtreecommitdiff
path: root/libre/grub/grub.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-25 03:01:59 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-25 03:01:59 -0300
commit99115d4e4c8280be3e68fc02bdd7d9ece8ceb0d6 (patch)
tree48ab0fe5812998d0b3cdb3284d021f576851bc87 /libre/grub/grub.install
parent49fb84c481b4eb4e1dd582a5a023b2542e5af423 (diff)
downloadabslibre-99115d4e4c8280be3e68fc02bdd7d9ece8ceb0d6.tar.gz
abslibre-99115d4e4c8280be3e68fc02bdd7d9ece8ceb0d6.tar.bz2
abslibre-99115d4e4c8280be3e68fc02bdd7d9ece8ceb0d6.zip
grub-parabola: add parabola suffix for the package
Diffstat (limited to 'libre/grub/grub.install')
-rw-r--r--libre/grub/grub.install33
1 files changed, 0 insertions, 33 deletions
diff --git a/libre/grub/grub.install b/libre/grub/grub.install
deleted file mode 100644
index 9188b357a..000000000
--- a/libre/grub/grub.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 -D -m0644 /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
-}