File: lessdisks-aptget

package info (click to toggle)
lessdisks 0.5.3cvs.20040906-16
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,480 kB
  • ctags: 271
  • sloc: sh: 3,058; makefile: 92
file content (23 lines) | stat: -rwxr-xr-x 601 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

# this is used to install packages into a lessdisk terminal's root filesystem.

# copyright 2004 vagrant@freegeek.org, distributed under the terms of the
# GNU General Public License version 2 or any later version.

# call with lessdisks-chroot so that packages which attempt 
# to start servers don't do so while in the chroot.

if [ -r /etc/lessdisks-install.conf ]; then
  . /etc/lessdisks-install.conf
fi

if [ -r /etc/lessdisks/server.config ]; then
  . /etc/lessdissk/server.config
fi

if [ -z "$aptget_binary" ]; then
  aptget_binary="apt-get"
fi

lessdisks-chroot $aptget_binary $@