summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index ddaf9a7..70aa6f2 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -34,7 +34,12 @@ Set_defaults ()
fi
# Setting package manager
- LH_APT="${LH_APT:-aptitude}"
+ if [ "${LH_DISTRIBUTION}" = "etch" ]
+ then
+ LH_APT="${LH_APT:-aptitude}"
+ else
+ LH_APT="${LH_APT:-apt}"
+ fi
# Setting apt ftp proxy
if [ -z "${LH_APT_FTP_PROXY}" ] && [ -n "${ftp_proxy}" ]