X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=kernel-cn.git;a=blobdiff_plain;f=debian%2Fpreinst;fp=debian%2Fpreinst;h=6cc6e1f8103dc8338cb62ca3159845a7aee69af0;hp=0000000000000000000000000000000000000000;hb=e7d98e8f3aabd8ac906b73bfa2e301e38d490be8;hpb=fa07732cc0cb3a7753184e5e806cae0e30702779 diff --git a/debian/preinst b/debian/preinst new file mode 100755 index 0000000..6cc6e1f --- /dev/null +++ b/debian/preinst @@ -0,0 +1,40 @@ +#!/bin/sh +# preinst script for kernel-2.6-cn +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# make GRUB template directory +if [ ! -d /boot/grub ]; then + mkdir -p /boot/grub +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0