359c7ba60a4abb7baaf7427489080d75832e8d30
[grml-live.git] / etc / grml / fai / config / hooks / updatebase.GRMLBASE
1 #!/bin/sh
2 # Filename:      /etc/grml/fai/config/hooks/updatebase.GRMLBASE
3 # Purpose:       skip task updatebase of FAI when running softupdate
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2 or any later version.
7 # Latest change: Sun Dec 16 13:56:58 CET 2007 [mika]
8 ################################################################################
9
10 if [ "$FAI_ACTION" = "softupdate" ] ; then
11    # we want to use our own sources.list:
12    skiptask updatebase
13    # skip the task if we want to build a new ISO only:
14    [ -n "$BUILD_ONLY" ] && skiptask instsoft
15 fi
16
17 ## END OF FILE #################################################################
18 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3