12 lines
338 B
Bash
Executable file
12 lines
338 B
Bash
Executable file
#!/bin/bash
|
|
if ! command -v ftp >/dev/null; then
|
|
echo 'ftp is required for this script to work.'
|
|
exit 1
|
|
fi
|
|
if ! command -v tar >/dev/null; then
|
|
echo 'tar is required for this script to work.'
|
|
exit 1
|
|
fi
|
|
ftp ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz -o ut1/ut1.tar.gz
|
|
tar xzf ut1/ut1.tar.gz -C ut1/
|