mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-26 09:58:38 +01:00
Check for wget and gzip
This commit is contained in:
parent
844f53e0cc
commit
85e0b8c837
1 changed files with 10 additions and 0 deletions
|
@ -9,6 +9,16 @@ if [ $EUID != 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! command -v wget 1>/dev/null; then
|
||||
echo "wget is required!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! command -v gzip 1>/dev/null; then
|
||||
echo "gzip is required!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
script_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
mount_chroot () {
|
||||
|
|
Loading…
Reference in a new issue