Add tar to dependencies
Some niche distros like NuTyX doesn't have tar installed by default.
This commit is contained in:
parent
348a419400
commit
4dae1e30a4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user