Changeset 537 for lliurex-grub-custom


Ignore:
Timestamp:
Feb 10, 2016, 12:27:48 PM (4 years ago)
Author:
mabarracus
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-grub-custom/trunk/fuentes/debian/lliurex-grub-custom.postinst

    r535 r537  
    8282OUR_PACKAGE="lliurex-grub-custom"
    8383
     84GRUB_DEFAULT_FILE="/etc/default/grub"
    8485case $1 in
    8586
     
    9192                        echo "Unabe to divert file ${ORIG_FILE}"
    9293                fi
    93                
     94                if dpkg-divert --package ${OUR_PACKAGE}  --divert ${GRUB_DEFAULT_FILE}.ubuntu --rename ${GRUB_DEFAULT_FILE} ; then
     95                        echo "Diverted ${GRUB_DEFAULT_FILE} file"
     96                else
     97                        echo "Unable to divert file ${ORIG_FILE}"
     98                fi
    9499                ;;
    95100        *)
Note: See TracChangeset for help on using the changeset viewer.