summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2012-08-07 17:04:02 +0200
committerdavor <vorgrimmlerdavid@gmx.de>2012-08-07 17:04:02 +0200
commit85ebb85e82077a31f9aeac6bea79136001e6be10 (patch)
treec1959db7a051b7497886b4f4a80a58a385ebfba0
parentb62e242752adc914bab4535655c0756b300e2a25 (diff)
Use check_utils for apt-get/dpkg.
-rwxr-xr-xbase-install6
1 files changed, 3 insertions, 3 deletions
diff --git a/base-install b/base-install
index 0871bc4..3e3454a 100755
--- a/base-install
+++ b/base-install
@@ -13,7 +13,7 @@ DIR=`pwd`
# Not logged
# Not logged
[ "`id -u`" = "0" ] && echo "This script must not be run as root" 1>&2 && exit 1
-check_utils "aptitude git apt-cache dpkg"
+check_utils "aptitude apt-get git apt-cache dpkg"
echo
echo "Base Packages:"
@@ -29,8 +29,8 @@ case "$DISTRIB_INFO" in
*) PACK_LIST="debian.list";;
esac
-sudo dpkg --set-selections < "$PACK_LIST"
-sudo apt-get -y -u dselect-upgrade
+sudo $DPKG --set-selections < "$PACK_LIST"
+sudo $APT_GET -y -u dselect-upgrade
if [ ! -f $JAVA_CONF ]; then