|
Revision 463, 1.4 kB
(checked in by free, 8 months ago)
|
|
Fixed grub title
|
| Line | |
|---|
| 1 | #! /bin/sh |
|---|
| 2 | # postinst script for 64studio-themes |
|---|
| 3 | # |
|---|
| 4 | # see: dh_installdeb(1) |
|---|
| 5 | |
|---|
| 6 | set -e |
|---|
| 7 | |
|---|
| 8 | . /usr/share/debconf/confmodule |
|---|
| 9 | |
|---|
| 10 | # summary of how this script can be called: |
|---|
| 11 | # * <postinst> `configure' <most-recently-configured-version> |
|---|
| 12 | # * <old-postinst> `abort-upgrade' <new version> |
|---|
| 13 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
|---|
| 14 | # <new-version> |
|---|
| 15 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
|---|
| 16 | # <failed-install-package> <version> `removing' |
|---|
| 17 | # <conflicting-package> <version> |
|---|
| 18 | # for details, see http://www.debian.org/doc/debian-policy/ or |
|---|
| 19 | # the debian-policy package |
|---|
| 20 | # |
|---|
| 21 | |
|---|
| 22 | case "$1" in |
|---|
| 23 | configure) |
|---|
| 24 | |
|---|
| 25 | # Only run these on new installs |
|---|
| 26 | if [ "$2" == "" ]; then |
|---|
| 27 | cdd-config menu debian |
|---|
| 28 | cdd-config grub 5 64studio |
|---|
| 29 | fi |
|---|
| 30 | cdd-config menu tweak |
|---|
| 31 | cdd-config menu hide |
|---|
| 32 | cdd-config profile |
|---|
| 33 | cdd-config channels |
|---|
| 34 | cdd-config hdaintel |
|---|
| 35 | cdd-config lash |
|---|
| 36 | update-modules |
|---|
| 37 | |
|---|
| 38 | ;; |
|---|
| 39 | |
|---|
| 40 | abort-upgrade|abort-remove|abort-deconfigure) |
|---|
| 41 | |
|---|
| 42 | ;; |
|---|
| 43 | |
|---|
| 44 | *) |
|---|
| 45 | echo "postinst called with unknown argument \`$1'" >&2 |
|---|
| 46 | exit 1 |
|---|
| 47 | ;; |
|---|
| 48 | esac |
|---|
| 49 | |
|---|
| 50 | # dh_installdeb will replace this with shell code automatically |
|---|
| 51 | # generated by other debhelper scripts. |
|---|
| 52 | |
|---|
| 53 | # Automatically added by dh_gconf |
|---|
| 54 | if [ "$1" = "configure" ] && which update-gconf-defaults >/dev/null 2>&1; then |
|---|
| 55 | update-gconf-defaults |
|---|
| 56 | fi |
|---|
| 57 | # End automatically added section |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | exit 0 |
|---|
| 61 | |
|---|
| 62 | |
|---|