#!/bin/bash
#
# Ubuntu installer for Kubernetes
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

apt update
apt install -y aptitude
#apt install biometric-auth biometric-driver-community-multidevice biometric-utils libbiometric0 kylin-app-manager 

i=0
while read line
do
     #echo $line
     #apt install -y $line
     array1[$i]=$line
     let i++
done < /etc/kylin-pkgs-installer.conf

#echo ${array1[*]}
#apt install ${array1[*]}
aptitude install ${array1[*]}
