Add tar to dependencies

Some niche distros like NuTyX doesn't have tar installed by default.
This commit is contained in:
Lemniskett 2020-11-18 01:16:06 +07:00 committed by GitHub
parent 348a419400
commit 4dae1e30a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,7 @@ case $1 in
checkdep wget checkdep wget
wget -q --show-progress -O archlinux.tar.gz $2 wget -q --show-progress -O archlinux.tar.gz $2
msg "Extracting the tarball..." msg "Extracting the tarball..."
checkdep tar
tar xzf archlinux.tar.gz tar xzf archlinux.tar.gz
msg "Enabling internet connection in chroot enviroment..." msg "Enabling internet connection in chroot enviroment..."
cp /etc/resolv.conf $CHROOT/etc/resolv.conf cp /etc/resolv.conf $CHROOT/etc/resolv.conf