source: live-build/trunk/fuentes/functions/wrapper.sh @ 900

Last change on this file since 900 was 900, checked in by kbut, 3 years ago

add original source

  • Property svn:executable set to *
File size: 516 bytes
Line 
1#!/bin/sh
2
3## live-build(7) - System Build Scripts
4## Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
5##
6## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
7## This is free software, and you are welcome to redistribute it
8## under certain conditions; see COPYING for details.
9
10
11Apt ()
12{
13        CHROOT="${1}"
14        shift
15
16        case "${LB_APT}" in
17                apt|apt-get)
18                        Chroot ${CHROOT} apt-get ${APT_OPTIONS} ${@}
19                        ;;
20
21                aptitude)
22                        Chroot ${CHROOT} aptitude ${APTITUDE_OPTIONS} ${@}
23                        ;;
24        esac
25}
Note: See TracBrowser for help on using the repository browser.