add more installer parts
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
if [ $IP2L = "Yes" ]; then
|
||||
msg_info "Setting up IP2Location Download Client for ${APP}"
|
||||
apt install -y libwww-perl &>/dev/null
|
||||
wget -N https://www.ip2location.com/downloads/ip2location-downloader-linux.zip -O $MSTEMPDIR/ip2location-downloader-linux.zip &>/dev/null
|
||||
rm -rf $MSTEMPDIR/ip2location-downloader-linux &>/dev/null
|
||||
mkdir -p $MSTEMPDIR/ip2location-downloader-linux &>/dev/null
|
||||
pushd $MSTEMPDIR/ip2location-downloader-linux &>/dev/null
|
||||
unzip ../ip2location-downloader-linux.zip &>/dev/null
|
||||
cp download.pl ${MYSTIC_DIR}/ip2location
|
||||
chmod +x ${MYSTIC_DIR}/ip2location
|
||||
cp readme.txt ${MYSTIC_DIR}/docs/ip2location_README.txt
|
||||
popd &>/dev/null
|
||||
msg_ok "Setting up IP2Location Download Client for ${APP}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user