forked from images/live-iso-gnome
23 lines
457 B
Bash
Executable File
23 lines
457 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
export DEBIAN_FRONTEND="noninteractive"
|
|
|
|
touch /chroot_scripts/live_list
|
|
|
|
for live_list in /chroot_scripts/live-lists/*.list
|
|
do
|
|
for pkg in $(cat $live_list)
|
|
do
|
|
if [[ $pkg != "#"* ]]
|
|
then
|
|
echo $pkg >> /chroot_scripts/live_list
|
|
fi
|
|
done
|
|
done
|
|
|
|
apt-get install --yes --no-install-recommends --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" $(cat /chroot_scripts/live_list | tr "\n" " ")
|
|
|
|
|