Skip to content
Snippets Groups Projects
Commit 53f593a8 authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files

20-install: Use fakebin/ for all distros

parent c7dd4767
No related branches found
No related tags found
No related merge requests found
...@@ -31,14 +31,8 @@ checkMountedFS || exit 2 ...@@ -31,14 +31,8 @@ checkMountedFS || exit 2
loadConf "$PREFIX/conf/$1/create-iso.conf" $1 loadConf "$PREFIX/conf/$1/create-iso.conf" $1
initChroot initChroot
if [ "$1" == "minicom/server" ] || [ "$1" == "minicom/client" ]; chroot "$CHROOTDIR" env PATH="/fakebin:$PATH" \
then
chroot "$CHROOTDIR" \
env PATH="/fakebin:$PATH" apt-get -y --force-yes install --purge $(cat "$INSTLIST" | grep -v "^#")
else
chroot "$CHROOTDIR" \
apt-get -y --force-yes install --purge $(cat "$INSTLIST" | grep -v "^#") apt-get -y --force-yes install --purge $(cat "$INSTLIST" | grep -v "^#")
fi
# The populate-slapd package need to have the ldap (slapd) service running. # The populate-slapd package need to have the ldap (slapd) service running.
# In the previous apt-get command we don't start any services, so we need to # In the previous apt-get command we don't start any services, so we need to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment