Files
SimpleLinux/scripts/download.sh
T
2026-03-05 17:18:16 +07:00

15 lines
462 B
Bash
Executable File

#!/bin/bash
. ./scripts/funcs.sh
. ./scripts/config.sh
#------------ Download needed sources from sources.txt ------------------
download_sources() {
print_info "** Downloading sources"
cat $sourcesfilename
if [ ! -d downloads ]; then mkdir downloads; fi
wget --input-file=$sourcesfilename --continue --directory-prefix=$root/downloads
check $? "Download sources"
}
#------------------------------------------------------------------------